Web Tier APIs
- ' character in the string
- Tue, 18 Sep 2007 19:56:00 GMT
- Hello.I'm trying to insert string to varchar value in the database which contains the ' character. But it throws the error.... how can i replace this character to some another character in the string before inserting it to the database?thanks ...
- " Accessing the data from website by servlet"
- Mon, 24 Sep 2007 02:07:00 GMT
- Dear Friends, I am new to this JAVA World . I want to acess the website's data byServlet. and also it will update the data automatically w/o refresh . plz help me regarding this ........................
- " writing data from applet to desktop "
- Mon, 24 Sep 2007 02:00:00 GMT
- dear friends, plz help meon how to " writedata from applet to desktop "....
- """Get back the data after redirection"""
- Wed, 19 Sep 2007 02:15:00 GMT
- Now I have the following logic:(Fill in a html form) -> (check whether session timeout before sending to hello.jsp), -> (if timeout, redirect to login.jsp), (send back to hello.jsp)The problem now is how I can get back the data in all textfields of the html form?Please give me a hand! Thx ...
- "&" in key-value pair's value in URL rewriting in JSP
- Fri, 21 Sep 2007 01:37:00 GMT
- I'm facing problem with "&" in JSP's URL rewriting.String var = "ABB & Co.";<a href="Entry.jsp?acc_name=<%=var%>&zone=<%=zone%>"> <%=var%></a>This interprets as follows:<a href="Entry.jsp?acc_name=ABB & Co.&zone=04">ABB & Co. ...
- "<jsp: ... />" tags
- Tue, 18 Sep 2007 15:58:00 GMT
- Does anyone know of a list of these tags?I can find info on every other type of tag except the ones that follow this convention:<jsp:forward page = "test.jsp" /> ...
- "." expected in import tag
- Thu, 20 Sep 2007 12:14:00 GMT
- hi pplethis is my JSP file:<html><title>Test</title><%.thatisjava.com. page language="java" import="SessionController, java.util.*" %><body bgcolor="#CCCCFF"> WELCOME</body></html>Errror: org.apache.jasper.JasperException: Unable to compile class for JSPAn error ...
- "?" appear in Word parsed doc generated in servlet response
- Wed, 19 Sep 2007 11:47:00 GMT
- What is the best way to convert quotes or dash in String into html reponse?I have a Servlet parsing a Microsoft Word generated document and sending it as a response to the browser. The problem is that any dash "-", or quotes are represented by question marks "?" in the browser. I'd like to be ...
- "\n" weird response.
- Wed, 19 Sep 2007 05:04:00 GMT
- Hi,This is weird!My servlet writes to a text file using "\n" (new line) among other stuff. Problem is, when I open the file, I get a weird square (rectangular) character where "\n" should be i.e. new line, and everything is written in one line.Anyone knows how to make the servlet write in the ...
- "0" gets print on Serverside
- Mon, 24 Sep 2007 12:58:00 GMT
- Hi all,I have one weird situation...Every thing is working fine...but when I login into my system, "0" gets print on Server....I am not printing anything on server...that means there is no System.out.println()....or nothing...can any one tell me what is it?...appreciate ...
- "0" problem
- Sun, 23 Sep 2007 17:42:00 GMT
- [nobr]<HTML> <HEAD> <TITLE>Passing a value</TITLE> </HEAD> <BODY> <CENTER> Please type in a number in the box <BR> <FORM METHOD=POST ACTION=SimplePage.jsp> <INPUT TYPE=TEXT NAME=memory> <INPUT TYPE=SUBMIT></FORM> ...
- "access denied" message on tomcat
- Thu, 20 Sep 2007 03:29:00 GMT
- i have downloaded jakarta tomcat, set classpaths etc, set JAVA_HOME environment and CATALLINA_HOME environment.Catalina connects, but the J2sdk1.4.1_01 reads back in MSDOS"access denied".I have a personal firewall "Zone Alarm" and do not think it ispreventing the server from running because i ...
- "Access is Denied" when accessing files in the network
- Sun, 23 Sep 2007 14:43:00 GMT
- Hello developers ,My JSP application is reading files that reside elsewhere in our LAN (using the "\\\\<some-server>\\<some-shared-folder>\\<some-file>" notation). On my personal Tomcat it works just fine, however the IT deprtment has allocated me a server with a Tomcat ...
- "Already Connected
- Fri, 21 Sep 2007 01:17:00 GMT
- Hello All,I've been trying to solve the following behavior. I have a method that gets called that attempts to read the contents of an ASP page...when its called the call to connection.setDoOutput(true) throws an IllegalStateException. The message it returns states "Already connected"...I've ...
- "ant install" command problem-JWSDP EA2
- Wed, 19 Sep 2007 02:12:00 GMT
- Hello. I get an error message like the following: "Server returned HTTP response code: 401 for URL ..." when I invoked the "ant install" command. According to the tutorial, it says I need create a "build.properties" file in my home directory. It said for Windows 2000 it is c:\Documents. But I ...
- "Application not available" page
- Mon, 24 Sep 2007 03:02:00 GMT
- We have a need to display an "application not available" page when a person navigates to the site outside the normal hours of operations.One way to do this is to have the index.html route to a JSF page which checks the time, then either redirects to the application, or if outside of operating ...
- "back" click problem for login page
- Sun, 23 Sep 2007 20:30:00 GMT
- Login URL : http://localhost:8080/login.dologin.do has FORM-Based authentication with login.jsp,error.jspWhen user enters the above URL,he is first directed to "login.jsp" and for successful login he is directed to home page.The URL remains "http://localhost:8080/login.do" all the time.Now if ...
- "BAD packet signature 18245" :error while executing servlet
- Mon, 24 Sep 2007 04:17:00 GMT
- i am running a servlet under jakarta-tomcat-4.1.24...the server is crashing giving the error "BAD packet signature 18245",unable to process header ..help me out plzz,,...
- "Bad" markup for non-English language in JSF
- Thu, 15 Nov 2007 03:18:00 GMT
- Hello, I'm trying to solve the following problem with JSF. By the moment I didn't find answers, just questions about it in the forums, though everything seems extremely simple.The problem is as follows.My OS locale is russian (ru), codepage is wndows-1251. When I create jsf page, I am ...
- "bean" or "String" type
- Mon, 24 Sep 2007 18:03:00 GMT
- hello, i have a bean that looks like this :public class UserBean {private String userName = null;........public String getUserName () {return userName;}public void setUserName (String userName) {this.userName = userName;}.........private void RechercheDisp () {dispObject pat = findByNumAdm ...
- "Cannot Find Bean in any Scope" Problem
- Wed, 14 Nov 2007 22:57:00 GMT
- Hello There..Good Morning to everyone reading my post.I have a problem, I have No clue how to solve. in the past I have been able to fix the "Cannot find bean in any Scope" problem, but now I have no idea Why I am getting that message.Here's the scenario:I have an Action that forwards to a JSP ...
- "Cannot find bean under name", but no name given
- Mon, 24 Sep 2007 18:07:00 GMT
- [nobr]Hello,First off, I'm using a Struts-Tiles framework for my applicationI'm getting the following error when my jsp compiles:"javax.servlet.jsp.JspException: Cannot find bean under name at org.apache.struts.taglib.html.SelectTag.calculateMatchValues(SelectTag.java:301)"As you can see, ...
- "cannot find symbol" for user-defined class
- Mon, 24 Sep 2007 15:35:00 GMT
- I'm trying to create a servlet that creates and uses a list of objects of class Site, which I've created and compiled myself. I keep getting a "cannot find symbol" error when I attempt to compile. Assumed this was a classpath problem, but I tried several things there and it still didn't seem ...
- "Cannot forward after response has been committed" .....Plz help
- Mon, 24 Sep 2007 21:17:00 GMT
- below is the code<%int errorCode = Integer.parseInt(request.getParameter("errorCode"));switch(errorCode){case 1: out.println("No activity in within specified dates");}request.getRequestDispatcher("/index.jsp");%>Now i want to redirect the user to index.jsp after displyaing the error ...
- "Cannot resolve symbol" error when compiling servlet using Tomcat5.0
- Sat, 22 Sep 2007 09:12:00 GMT
- HiI am a new user of Tomcat 5.0 and am trying to compile a sample servlet file. However it comes up with the 'Cannot resolve symbol' error pointing towards HTTPServlet, HTTPServletRequest and HTTPServletResponse. I have set my classpath as an environment variable as ...
- "cannot resolve symbol" When using Servlet & Packages
- Sat, 22 Sep 2007 20:27:00 GMT
- Hey Guyz, Im jus creating a package for Simple Database connection,which is as follows...package Source;import java.io.*;import java.sql.*;import java.lang.*;public class TestConnection{public Connection getConnection(){Connection con=null;try{ DriverManager.registerDriver(new ...
- "Cannot retrieve definition for form bean null" Problem...
- Mon, 24 Sep 2007 12:44:00 GMT
- Hey all...I've looked at all the threads I could find on this topic, but none seemed to address the specific problem I'm having. All I'm trying to do is have a button which redirects me to a new page. In order to do this, I created an action mapping in my struts-config.xml file that simply ...
- "Can't find bundle for base name" in a JavaBean called from a JSP
- Fri, 21 Sep 2007 13:43:00 GMT
- I have quite a large EAR file which contains an EJB.jar file, a WAR file and various other jars used by the EJB.jar file. I the WAR file has a number of JSPs and now some JavaBeans. The JavaBeans live in their own jar which is deployed in the WEB-INF\lib directory. I am trying to use ...
- "Can't get Action from Action Reference"?
- Fri, 21 Sep 2007 12:22:00 GMT
- I really can't figure out why I get java.lang.IllegalArgumentException with "Can't get Action from Action Reference: BeanName.actionName" message. I specified all properties in faces-config.xml. Bean and its action names are all checked several times, but I still get that exception. Is it a ...
- "Can't set managed bean property" When leaving/reloading the page ..?
- Mon, 24 Sep 2007 19:36:00 GMT
- Hi,I'm evaluating JSF and facing a strange managed-bean behaviour :On each of my JSP pages, I'm importing a simple header.jsp page containing internationalization and logout commandLink.For internationalization, the called methods return void (-> reload page)For logout, the logoutAction ...
- "Web Tier APIs" Related Questions
- "Cannot forward after response has been committed" .....Plz help
- below is the code<%int errorCode = Integer.parseInt(request.getParameter("errorCode"));switch(errorCode){case 1: out.println("No activity in within specified dates");}request.getRequestDispatcher("/index.jsp");%>Now i want to redirect the user to index.jsp after displyaing the error ...
- "bean" or "String" type
- hello, i have a bean that looks like this :public class UserBean {private String userName = null;........public String getUserName () {return userName;}public void setUserName (String userName) {this.userName = userName;}.........private void RechercheDisp () {dispObject pat = findByNumAdm ...
- "ant install" command problem-JWSDP EA2
- Hello. I get an error message like the following: "Server returned HTTP response code: 401 for URL ..." when I invoked the "ant install" command. According to the tutorial, it says I need create a "build.properties" file in my home directory. It said for Windows 2000 it is c:\Documents. But I ...
- "Application not available" page
- We have a need to display an "application not available" page when a person navigates to the site outside the normal hours of operations.One way to do this is to have the index.html route to a JSF page which checks the time, then either redirects to the application, or if outside of operating ...
- "cannot find symbol" for user-defined class
- I'm trying to create a servlet that creates and uses a list of objects of class Site, which I've created and compiled myself. I keep getting a "cannot find symbol" error when I attempt to compile. Assumed this was a classpath problem, but I tried several things there and it still didn't seem ...
- " writing data from applet to desktop "
- dear friends, plz help meon how to " writedata from applet to desktop "....
- "<jsp: ... />" tags
- Does anyone know of a list of these tags?I can find info on every other type of tag except the ones that follow this convention:<jsp:forward page = "test.jsp" /> ...
- "0" gets print on Serverside
- Hi all,I have one weird situation...Every thing is working fine...but when I login into my system, "0" gets print on Server....I am not printing anything on server...that means there is no System.out.println()....or nothing...can any one tell me what is it?...appreciate ...
- "Cannot find bean under name", but no name given
- [nobr]Hello,First off, I'm using a Struts-Tiles framework for my applicationI'm getting the following error when my jsp compiles:"javax.servlet.jsp.JspException: Cannot find bean under name at org.apache.struts.taglib.html.SelectTag.calculateMatchValues(SelectTag.java:301)"As you can see, ...
- """Get back the data after redirection"""
- Now I have the following logic:(Fill in a html form) -> (check whether session timeout before sending to hello.jsp), -> (if timeout, redirect to login.jsp), (send back to hello.jsp)The problem now is how I can get back the data in all textfields of the html form?Please give me a hand! Thx ...