"Craig R. McClanahan" wrote:
> Richard Yumul wrote:
>
> > The last question in the FAQ that gets distributed with jswdk-1.0 talks about
> > some init parameters which would enable some pretty useful functionality. Where
> > are you supposed to specify these parameters? The webserver.xml config file?
> > The webpages/WEB-INF/webapp.properties file? So far I haven't been able to
> > figure it out.
> >
> > Thanks,
> > Rich
> >
>
> Are you talking about things like "keepgenerated", "scratchDIr", and so on?
Oops, "scratchDir" is really "scratchdir". At least I got it right in the example.
> If
> so, they are initialization arguments to the JSP servlet, so they go in the
> WEB-INF/servlets.properties file for each web application that uses JSP. Use a
> line like this:
>
> jsp.initparams=keepgenerated=false,scratchdir=/tmp/jsp
>
> A word of warning -- I've had problems when I tried to use the same scratchdir
> setting in more than one web-app in the same JVM, so I would suggest using separate
> ones.
>
> Craig McClanahan
>
> PS: Once support for the servlet API 2.2 spec is included in JSWDK, these settings
> will go in the web-application's deployment descriptor file instead, encoded in
> XML.
===========================================================================
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