Where jsp java file

In tomcat6, where does tomcat put the generated java file for the JSP file?

an exception:

java.lang.NullPointerException
    at org.apache.jsp.xxx.yyy.view_jsp._jspService(view_jsp.java:164)
+3
source share
3 answers

They are stored in the Tomcat directory work, for example.

work/Catalina/localhost/_/org/apache/jsp/login_jsp.java

The specificity of the my path varies from version to version, but always under work

+5
source

look ${TOMCAT_HOME}/work/Catalina/<HOST>/....

+4
source

If you made tomcat server in eclipse, this is a good place to view ...

Try the following:

<your-workspace-dir>\\.metadata\\.plugins\\org.eclipse.wst.server.core\\tmp0\\work\\Catalina
0
source

Source: https://habr.com/ru/post/1723550/


All Articles