jQuery in Action, 3rd edition
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
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
I agree. Here's the link: http://aspose.com/file-tools
subject: translation + request phase
It's not a secret anymore!