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.
I don't see anything obvious in the jsp you posted that would cause this.
In fact I don't see any java code at all in there, so a null pointer exception is quite difficult to create.
you did post the source of frameset.jsp right?
Is there a 'caused by' on this stack trace?
Joined: Jan 02, 2012
Stefen this is all we have. There is no 'caused by' in the error log and yes i did post the code for frameset.jsp
Joined: Jul 06, 2005
Well the only bit of JSP markup I see in that file is the directive at the top.
Everything else is template text.
Try removing this line. Does it work?
Are there any other errors in the Tomcat log? At startup maybe?
You're working with Tomcat, so check out the file [Tomcat]/work/Catalina/localhost/JasperCIS/org/apache/jsp/frameset_jsp.java (or something similar)
This is the Servlet file Tomcat generates from your JSP. Whats on line 22 that can create a null pointer exception?
Yes,there were unnecessary jar files in the WEB-INF/LIB as well as in the build path of the project.Once all this was cleaned it worked fine.There were jars such as jsp-api.jar,servlet-api.jar and many more such jar files which were not needed. Thank you all for your help.