The compiled JSP files are by default available in the /work
folder of the Tomcat environment. There should be a subfolder Catalina
which in turn has a subfolder representing the domain name which defaults to localhost
. There in turn should be the project folder which in turn contains package hierarchy org.apache.jsp
with therein the compiled JSP files.
Tomcat
|-- backup
|-- bin
|-- conf
|-- lib
|-- logs
|-- temp
|-- webapps
`-- work
`-- Catalina
`-- localhost
`-- projectname
`-- org
`-- apache
`-- jsp
|-- survey_jsp.class
`-- survey_jsp.java <--- here
Unrelated to the concrete problem, there should be a root cause part in the stacktrace of the JspException
which usually contains more detail about the real root cause of the problem. Read a bit further in the stacktrace. By the way, do you know that putting raw Java code in JSP files is considered a bad practice? It makes problems harder to debug as you encounter now.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…