[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index] [Home]

[no subject]


Subject: JServ: servlets.startup
In-reply-to: Your message of "Fri, 12 Nov 1999 09:39:37 EST."
             <NABBKMCEOPBJNEIBJNFJKECNFMAA.jamesm@webxi.com> 
Reply-To: Carsten Heyl <Heyl@NADS.De>
--------

Hi Jim,

just 2 words on servlets.startup.
The servlet you specify there has to find its arguments (if it has any).

If you start the servlet
	servlets.startup=org.gjt.jsp.JspServlet

you need 
	servlet.org.gjt.jsp.JspServlet.initArgs=xxx

If you start the servlet
	servlets.startup=gnujsp

you need 
	servlet.gnujsp.initArgs=xxx

servlets.default.initArgs will work in both cases but 
it is not needed.

If you don't do it this way the servlet won't find it's args
and the famous missing scratchdir message comes along.






>RE: install problem - JspServlet doesn't initialize properlyI ran into
>similar problems when I first started using gnujsp. I found that I had to
>put the servlets parameters in the default init arguments list. I have not
>tried to remove this lately since it was working in the past.
>
>servlets.default.initArgs=checkclass=true,scratchdir=/jsptemp,compiler=built
>in-javac -classpath %classpath%;%scratchdir% -d %scratchdir% -deprecation
>%source%,debug=true
>
>
>Also, you might want to specify the servlet to be loaded at startup.
>
>servlet.gnujsp.code=org.gjt.jsp.JspServlet
>servlets.startup=gnujsp
>
>Jim