File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSP " Watch "JSP " New topic


Usha KV

Joined: Jun 05, 2001
Posts: 4
Where is the servlet class file stored physically after the JSP page is compiled to a servlet
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
It's entirely up to the servlet/JSP container. it may not even be stored psically on disk, but only exist in memory or maybe in a database or other repository.
Which servlet /JSP container are you using ?

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Ganesh Anekar
Ranch Hand

Joined: May 13, 2001
Posts: 36
In Javawebserver , If u compile JSP file , for that JSP file the generated servlet will be actually stored in Javawebser's tmp Directory.
U check in c:\javawebserver\tmp\pagecompile\jsp\_yourjsp
it will generate Three files 1) .java file of u r Jsp file
2).class for that java file and 3).dat file for that class
U can open .java file with any editor..
Check it...
I agree. Here's the link:
subject: JSP
It's not a secret anymore!