Where to find the translated JSP servlet code in Eclipse / RAD?

16,730

Solution 1

Locate your runtime directory. If this is an embedded runtime, it'll be something like:

/opt/IBM/SDP/runtimes/basev7

The servlets are usually compiled lazily to the profile's temp directory. This path will be of the form:

/profiles/profileName/temp/nodeName/serverName

The profile, node and server name are configuration dependent. Subdirectories will follow your EAR/WAR hierarchies.

Solution 2

It depends on your servlet container settings. IN case of tomcat, it is most likely located under:

/work/Catalina///org/apache/jsp/

Share:
16,730
Niklas Rosencrantz
Author by

Niklas Rosencrantz

I'm as simple as possible but not any simpler.

Updated on June 05, 2022

Comments

  • Niklas Rosencrantz
    Niklas Rosencrantz about 2 years

    I'm using IBM RAD v7 which is based on Eclipse and I've got a NullPointerException in a compiled JSP that I want to troubleshoot. So I wonder where websphere / Eclipse (IBM RAD) stores the source for the compiled JSP that the error message is referring to?