I have deployed my project on tomcat5.5 but JSP scriplet in my index.jsp is not getting executed.It is not displaying any errors neither it is logging any errors in the log file.It is displaying scriplet directly on the page as static HTML.
Please suggest something.
[Vipassana] - It is seeing the reality as it is, And not as you want it to be.!!!
posted 6 years ago
Make sure that your WEB-INF folder contains the mandatory web.xml file.
I assume your JSP is somewhere under WebContent.
Once you startup your server, check if the /tomcat/work/catalina/localhost/YOUR_PROJECT_NAME has the translated jsp somewhere within it.
If you jsp is names hello.jsp, the translated file will be names hello_jsp.java