It doesn't need to be serialized (in a Java sense) but you can just generate the
servlet
and keep it around. When the webserver starts it can use the generated servlet if its
around.
We do stuff like that.
Anand Kumar Sankaran wrote:
> Anil
>
> My understanding of how JSP works is that every time the web server comes up, the
> jsp page is compiled and a generic servlet is generated - irrespective of whether it
> changed or not.
>
> Some 4-5 months ago, me and my friends tested out a sort of servlet based scripting
> solution in which the generic servlet once generated would be serialized (stored in
> the hard disk), the generic servlet generation will not happen again if the jsp page
> has not changed.
>
> This is what I meant by that statement.
>
> After you asked this question, I am now wondering if my understanding of the generic
> servlet being generated every time the web server comes up is right or not!
>
> Anand
>
> "Anil K. Vijendran" wrote:
>
> > Anand Kumar Sankaran wrote:
> >
> > > Sounds good, I always wondered why the generated servlet classes could not be
> > > serialized and if and only if the jsp page changes, the servlet is recompiled.
> >
> > Curious... what do you mean by generated servlet classes being serialized?
> >
> > --
> > Peace, Anil +<:-)
> >
> > ===========================================================================
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> > FAQs on JSP can be found at:
> > http://java.sun.com/products/jsp/faq.html
> > http://www.esperanto.org.nz/jsp/jspfaq.html
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> FAQs on JSP can be found at:
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
--
Peace, Anil +<:-)
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html