Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

parsing of jsp..

 
Hema Kumar
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I started jsp very recently, and have few basic quistions..
1. When does the jsp page get convert to a servlet ?
2. If it is at the request time, will it be done for each request
or once loaded will remain on the server till next reload ?
3. Once converted to servlet where on server(tomcat 3.1) these class files are stored ?
could any one throw some light on these please..
thank you
Hema
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. The first time the page is requested
2. No, the resulting servlet stays loaded like any other servlet. However, it should get re-compiled and reloaded if the timestamp on the .jsp page changes.
3. Source code .java and .class files with ghastly long names ends up in tomcat/work
Bill
------------------
author of:
 
Hema Kumar
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you Bill.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic