[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: ERROR [org.apache.catalina.core.ContainerBase.[jboss.web

Raist_Majere do-not-reply at jboss.com
Mon Jul 2 16:57:08 EDT 2007


I can find an explanation to your problem of having a NullPointer, but not the reason of only getting it after some days working... Having the NullPointer is because when you use:
!request.getParameter("text").equals("capturados") the parameter is null. You can change all of this statements for one of the kind "capturados".equals(request.getParameter("text")) which will never fail, because "capturados" is never null. Getting this parameter as null is maybe due to having a servlet or something between the call to this JSP and then forwarding to it. Hope it helps someway... Is the previuos form page directed to a servlet (or some framework) and then forwarded to this page? If that's the case, the problem is probably in this intermediate phase.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059735#4059735

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059735



More information about the jboss-user mailing list