The moose likes Servlets and the fly likes JSP translation into servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSP translation into servlet" Watch "JSP translation into servlet" New topic

JSP translation into servlet

Rinku Sharma

Joined: Mar 30, 2001
Posts: 18
Hi friends,
When u compile a JSP page it gets translated into a servlet for the first request.This is done by the JSP engine. Now if we send another request to the same JSP page does the request go to JSP engine and then gets transfered to the servlet engine where request processing takes place or does it directly go to servlet engine and the request is processed.
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
What i know about is the weblogic 5.1 behaviour. When the jsp is compile the webserver access to the servlet every time but check if you have asked it the accuracy of the jsp and recompile it if needed. In wls 5.1 it is the weblogic .properties file that you find it.
It is in the pageCheckSeconds properties

# Sets up automatic page compilation for JSP. Adjust init args for
# directory locations and uncomment to use.

But i don't remember the exact posibility
Benjamin l´┐Żonard
I agree. Here's the link:
subject: JSP translation into servlet
jQuery in Action, 3rd edition