tomcat - Where are compiled JSP Java (*__jsp.java) files? -


i getting javax.servlet.jsp.jspexception in 1 of jsp files website trying render (survey.jsp). however, stack trace not give me the specific line in jsp fails rather line number fails in (survey_jsp.java:787), seems compiled jsp file. find such files, know line throwing exception?

thanks

edit: these files live in /work directory if using tomcat suggested in comment below.

the compiled jsp files default available in /work folder of tomcat environment. there should subfolder catalina in turn has subfolder representing domain name defaults localhost. there in turn should project folder in turn contains package hierarchy org.apache.jsp therein 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 concrete problem, there should root cause part in stacktrace of jspexception contains more detail real root cause of problem. read bit further in stacktrace. way, know putting raw java code in jsp files considered bad practice? makes problems harder debug encounter now.


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

datatable - Matlab struct computations -