File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP translation into servlet