Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP  RSS feed

 
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!