Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Servlet Interest »

Re: Life cycle

Taylor, Kevin

2004-07-26

Replies:

Yes. You can pre-compile JSP pages into servlets and deploy the classes to
your app server. This eliminates the first-access compilation delay. Look at
you app server docs and the ant build tool for specifics.

HTH.

> Kevin
>
> -----Original Message-----
> From: dileepmohan [SMTP:dileepmohan@(protected)]
> Sent: Monday, July 26, 2004 1:18 AM
> To:  SERVLET-INTEREST@(protected)
> Subject:    Re: Life cycle
>
> Pardon me if my question is too basic..
> I want to know when the Servlets and JSP pages are initialised and
> destroyed..Normally on first request to the page it is initialised and
> destroyed once server stopped or decide to destroy after a timeout of last
> call.What I want to know is ,any other way to initialise it?By saying JSP
> initialisaion I mean the creation of underlying Servlet..Is there anyway
> to
> compile the JSP in to servlet other than the first call??
>

___________________________________________________________________________
To unsubscribe, send email to listserv@(protected)
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
©2008 junlu.com - Jax Systems, LLC, U.S.A.