ptkvsk
ptkvsk

Reputation: 2222

Capture JSP source after static includes?

I'm getting JSP errors and can't figure out which file&line is causing them because of static includes. In my logs I see a line-number from the outer JSP after all static includes (my outer jsp has 110 lines of code, but the error line number is 3106).

Is there a way to get the final source of my outer jsp after all static includes, so I can see where that line-number actually points? Can I run preprocessor somehow?

Upvotes: 0

Views: 66

Answers (1)

Anil Reddy Yarragonda
Anil Reddy Yarragonda

Reputation: 767

The JSP translated files are stored (in Tomcat) in

    /work/Catalina/localhost/[your_app_context]/org/apache/jsp/...

We Should check in other containers or web servers also.

See the below hieararchey enter image description here

Upvotes: 1

Related Questions