Along similar lines... Is it possible to precompile JSP pages into servlets,
and then just use them as servelets? IE: use JSP as a code-generation tool
for servlets... This would avoid the first time delay, and enable one to use
a Web server than didn't handle JSPs (but did handle servlets). It would
also add an extra step in your development process, but this is pretty
normal -- you have to compile your Java classes anyway...

Also, supposing you have a JSP page in your site, and the HTML guy comes
along and changes it, does the server notice that it has been changed and
recompile it on the fly, or do you have to restart the server (or tell it in
some other way)?

TIA

rr

> -----Original Message-----
> From: Nathan Hoover [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 19, 2000 3:47 AM
> To: [EMAIL PROTECTED]
> Subject: Re: JSP & Servlet
>
>
> It depends on what web/app server you are using. Some servers
> compile at
> each page load / some compile occasionally / some compile
> only the first
> time you get the page after the server starts up...
>
> N
>
> -----Original Message-----
> From: A mailing list about Java Server Pages specification
> and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Ben Joyce
> Sent: Thursday, May 18, 2000 1:14 PM
> To: [EMAIL PROTECTED]
> Subject: Re: JSP & Servlet
>
>
> yeah, but when?  do you have to compile them manually or is
> this done on the
> fly when the page is requested?
>
> > -----Original Message-----
> > From: Peter Choe [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, May 18, 2000 5:33 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: JSP & Servlet
> >
> >
> > jsp gets compiled to servlet codes.
> >
> > Ben Joyce wrote:
> >
> > > well, one of the reasons is it's a lot easier to change the
> > output (html,
> > > layout, images, etc) because the JSP files are plain text..
> > and not compiled
> > > Java (although i think they do actualyl get compiled on the fly).
> > >
> > >  .b
> > >
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, May 18, 2000 3:58 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: JSP & Servlet
> > > >
> > > >
> > > > What  are the advantages of using JSP instead of Servlet?
> > > >
> > > > ==============================================================
> > > > =============
> > > > To unsubscribe: mailto [EMAIL PROTECTED] with body:
> > > > "signoff JSP-INTEREST".
> > > > Some relevant FAQs on JSP/Servlets can be found at:
> > > >
> > > >  http://java.sun.com/products/jsp/faq.html
> > > >  http://www.esperanto.org.nz/jsp/jspfaq.html
> > > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> > > >
> > >
> > >
> > ==============================================================
> > =============
> > > To unsubscribe: mailto [EMAIL PROTECTED] with body:
> > "signoff JSP-INTEREST".
> > > Some relevant FAQs on JSP/Servlets can be found at:
> > >
> > >  http://java.sun.com/products/jsp/faq.html
> > >  http://www.esperanto.org.nz/jsp/jspfaq.html
> > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
> > ==============================================================
> > =============
> > To unsubscribe: mailto [EMAIL PROTECTED] with body:
> > "signoff JSP-INTEREST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
> ==============================================================
> =============
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to