Hi Guys,
I am finding problem in deploying / configuring precompiled jsp's on tomcat.
The problem is as follows,
1. I have /opt/jakarta-tomcat-3.2.2/webapps/sample/HelloWorld.jsp
2. I start tomcat /opt/jakarta-tomcat-3.2.2/bin/startup.sh
3. It compiles HelloWorld.jsp file and creates .java and class files under
work directory when I browse for the first time.
they are,
/opt/jakarta-tomcat-3.2.2/work/localhost_8080%2Fsample/_0002fHelloWorld_0002
ejspHelloWorld_jsp_0.java
/opt/jakarta-tomcat-3.2.2/work/localhost_8080%2Fsample/_0002fHelloWorld_0002
ejspHelloWorld.class
4. Now I move /opt/jakarta-tomcat-3.2.2/webapps/sample/HelloWorld.jsp to
/opt/jakarta-tomcat-3.2.2/webapps/sample/HelloWorld.jsp.bak
5. Refresh the browser, getting the following error,
Not Found (404)
Original request: /sample/HelloWorld.jsp
Not found request: /sample/HelloWorld.jsp
6. I understand that the file is not existing, but is there any way that I
can configure tomcat to access .class files directly,
/opt/jakarta-tomcat-3.2.2/work/localhost_8080%2Fsample/_0002fHelloWorld_0002
ejspHelloWorld.class file.
I need to configure tomcat to look for only .class files (like
_0002fHelloWorld_0002ejspHelloWorld.class) because I don't have jsp files
with me.
Thanks in Advance ...
Regards
-Harish
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>