The moose likes Servlets and the fly likes JSP translation into servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply 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
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: JSP translation into servlet
 
Similar Threads
Page Translation and JSP Compilation Sequence
TIMESTAMP on jsp page and jsp compiled servlet
stay with same page after submiting form
jsp/servlet/container relationships
JDK and Tomcat is enough to develope web application?