This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Servlets and the fly likes parsing of jsp.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "parsing of jsp.." Watch "parsing of jsp.." New topic

parsing of jsp..

Hema Kumar

Joined: Oct 06, 2000
Posts: 9
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
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13027
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
author of:
Hema Kumar

Joined: Oct 06, 2000
Posts: 9
thank you Bill.
subject: parsing of jsp..
It's not a secret anymore!