The moose likes JSP and the fly likes translation + request phase Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "translation + request phase" Watch "translation + request phase" New topic

translation + request phase

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Jsp can be compiled during
(got these from specs)
1.deployment time
2.at the first request to the jsp page
can somebody explain the first one?
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
1. deployment time
Use a < servlet > tag in your web-app to specify your JSP page and include its child element <load-on-startup>. In this case, your JSP page must be compiled at deployment time as the app server is required to load the servlet.
This is as per the Servlet 2.3 spec.
- satya

Take a Minute, Donate an Hour, Change a Life
It is sorta covered in the JavaRanch Style Guide.
subject: translation + request phase
Similar Threads
How to call a jsp page from a servlet and viceversa
any way in servlet for preloading the data in my first page
deployment environment can only have complied file?
Retrieving parameters from jsp
In the messages module reply is not working