aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Where the servlet file of JSP is stored after it got created? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Where the servlet file of JSP is stored after it got created?" Watch "Where the servlet file of JSP is stored after it got created?" New topic
Author

Where the servlet file of JSP is stored after it got created?

yamini nadella
Ranch Hand

Joined: Apr 13, 2004
Posts: 257
In a book I read that at the time of JSP execution it will get converted to servlet file and this file will be stored in a folder.

They mentioned that if JSP file is test.jsp then created servlet java file is test$jsp.java.

I am not able to find this file in tomcat folders. Where can I find this?
DM
Ranch Hand

Joined: May 10, 2004
Posts: 31
yamini,

The location of generated servlet is dependent on the J2EE implementation.

In case of Tomcat, you should find it inside the sub-directories under the "work" directory. e.g. "jakarta-tomcat-4.1.24\work\Standalone\localhost\examples\Browser_jsp.java".

Hope this helps.
-Durgesh
 
Don't get me started about those stupid light bulbs.
 
subject: Where the servlet file of JSP is stored after it got created?