File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 13036
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.
I agree. Here's the link:
subject: parsing of jsp..
jQuery in Action, 3rd edition