This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
hello there, I have an html page which has form of firstname,lastname,email etc. when user clicks submit action is <form action="process.jsp" method=post> but when I try to run this is tomcat and submit form I get following error, org.apache.jasper.compiler.ParseException: C:\jspdoc\process.jsp(13,36) Attribute has no value void org.apache.jasper.runtime.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse) void org.apache.tomcat.core.ServletWrapper.handleRequest(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response) void org.apache.tomcat.core.ContextManager.service(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response) void org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(org.apache.tomcat.service.TcpConnection, java.lang.Object) can anybody tell me why this ,"Attribute has no value" error comes ,what should I do , when this error comes? thanks
It's hard to tell exactly, but without seeing any other code, if I had to guess I would sau it has to do with the line: <jsp:setProperty name="formhandler" property="*" /> Is it possible that your form is sending a field that the FormHandler isn't set up to deal with? J
Joined: Oct 11, 2000
hello there , finally I solved this, I think you have to restart tomcat after modifying your code of your application , otherwise it would continue to show same errors everthough you have modified them, am I right? thanks
Joined: Jan 07, 1999
Yes! Tomcat has a peculiar implementaion of class reloading. Most Tomcat users get into the habit of restarting the server to make sure it is using the latest versions of everything. I use Resin and find that it is much better at this.