Hi all,
When I run
jsp on
tomcat I get error 500 stating
"org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
An error occurred between lines: 3 and 5 in the jsp file: /CounterBean.jsp
Generated
servlet error:
C:\Program Files\Apache Tomcat 4.0\work\localhost\howjsp\CounterBean$jsp.java:60: Class org.apache.jsp.CounterBean not found.
CounterBean counterBean = null;"
The CounterBean.jsp is placed in the Context directory(\howjsp) which is configured correctly in server.xml. The content is:
<HTML>
<BODY>
<jsp:useBean id="counterBean"
scope="session"
class="CounterBean"/>
....
</HTML>
And the CounterBean.java file has been compiled and placed in \howjsp\WEB-INF\classes.
Thanks a lot.