
I'm attempting to run the program , I got the following error.I am using Apache Tomcat/5.0.28 , jdk1.6
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
java.lang.NullPointerException org.apache.jsp.HROnlineTest.EmpSelectFormjsp.jspService(EmpSelectForm_jsp.java:1453) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.
Apache Tomcat/5.0.28
please help me. its urgent.......

Have you set the classpath? Anyways, if not then do the following:
1)Go to the Control Panel>>System>>Environment Variable And the set the variable CATALINA_HOME and put the path of your apache tomcat as a value like: C:\apache-tomcat-5.5.
2)Like that create another variable classpath and put the path of apache-tomcat lib as a value like C:\apache-tomcat-5.5\lib.*;
3)Also put the servlet api.jar file inside the lib folder.
4)Now create a jsp file:'hello.jsp'
<%@page language="java"%> <%String st="Hello World"; %> Message is <%=st%>
5)Put this jsp file inside the apache-tomcat>>webapps>>web application folder>>
6)You have to give appropriate name to web application folder like examples and put jsp file into it.
7)Then start the tomcat server by clicking startup.bat from the bin folder of your tomcat.
8)Open your browser and type the following url:
http://localhost:8080/examples/hello.jsp and press enter.
9)You jsp program will then display the output on the browser.
For more information, visit the following link:
Thanks
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.