Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP

 
Usha KV
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where is the servlet class file stored physically after the JSP page is compiled to a servlet
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
Ganesh Anekar
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
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...
Ganesh
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic