Reputation: 1
Recently i'm trying to figure out the location of the java file of a certain JSP file after compiling by the tomcat 8.0 server, but i'm quite confused since even after i accessed the jsp on browser, i still cannot found the java file of the jsp. BTW, what's the difference between the tomcat installation dir and the server dir when using the eclipse, is there any relationship?
Upvotes: 0
Views: 429
Reputation: 258
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.
Upvotes: 1