This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSP translation into servlet" Watch "JSP translation into servlet" New topic
Author

JSP translation into servlet

Rinku Sharma
Greenhorn

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.
Bye,
Amit
Anonymous
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.
weblogic.httpd.register.*.jsp=\
weblogic.servlet.JSPServlet
weblogic.httpd.initArgs.*.jsp=\
pageCheckSeconds=1,\
compileCommand=c:/java/bin/javac.exe,\
workingDir=C:/wls51/myserver/classfiles,\
verbose=true

But i don't remember the exact posibility
------------------
Benjamin l´┐Żonard
www.evisor.com
 
 
subject: JSP translation into servlet