W3C home > Mailing lists > Public > www-jigsaw@w3.org > March to April 1999

Re: servlet init param setup without jigadmin

From: Paul Speed <pspeed@augustschell.com>
Date: Thu, 15 Apr 1999 11:19:33 -0400 (EDT)
Message-ID: <37160321.5D92BADD@augustschell.com>
To: Kevin Regan <kevin@differential.com>
CC: www-jigsaw@w3.org
Hi Kevin,

	I use Jigsaw off and on for my servlet development.  My web
hosting account uses Apache with JSERV.  They don't provide the use
of a servlets.properties file nor do they provide any means by which
to set the init parameters.  So, I had to improvise.

	I've written a servlet that will run other servlets.  This
servlet can read (and reread if it changes) a servlets.properties
file.  It can also read its own config file that can set system 
properties and its own custom classpath.  It uses its own class 
loader and so can run servlets from zips, jars, etc..  The only thing
its class loader won't do is reload classes that have changed.  
However, the class loader can be reset manually and will also be reset
if the runner class is touched. (of course)

	The source code is a little messy right now.  I'm planning
on releasing it some time next week if I get time.  Just let me know
if you are interested. (You also might want to remind me next week. :) )

	Hope this helps,
	-Paul (pspeed@progeeks.com)


Kevin Regan wrote:
> 
> Is there a way to setup servlet init parameters
> without using the Jigadmin?  I'd like to be able to
> modify a file somewhere...
> 
> Thanks!
> Kevin Regan
> kevin@differential.com
Received on Thursday, 15 April 1999 11:20:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:29 GMT