File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Secuence of JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply Bookmark "Secuence of JSP" Watch "Secuence of JSP" New topic
Author

Secuence of JSP

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi!
A correct sequence: translation, compilation, load class, create instance. Which belong to translation phase and request phase?
Thank you in advance.
Axel Janssen
Ranch Hand

Joined: Jan 08, 2001
Posts: 2164
Hi Jordi,
translation phase:
JSP engine converts JSP to a servlet on first invoking. In tomcat you find this translated class in the work directory.
request phase:
Comes after create instance. After the JSP engine has created the servlet the servlet engine instantiates one* instance of a servlet. This servlet waits for requests.
*(not sure here. Aren't there servlet pools on some servers for better performance. Or if u have load balancing, failover across > 1 server there might be one servlet per server created, but these are advanced topics not covered in the exam).

Axel
----
sometimes my answers are buggy.
 
 
subject: Secuence of JSP
 
Threads others viewed
Difference between translation and compilation errors in a JSP
Translation Phase of JSP - Doubt
Translation phase
tag files validation
silly Doubt regarding transation and compilation
developer file tools