on 9/11/2000 12:22 PM, "Diethelm Guallar, Gonzalo"
<[EMAIL PROTECTED]> wrote:
> I would like to create my own servlet class, inheriting
> from Turbine. I would initialize my class with a properties
> file specified in web.xml, and inside this file I would like
> to specify where TurbineResources.properties is located.
>
> How would this whole thing work from the point of view of
> initializing Turbine? I would like to pick up the location
> of TR.properties inside my servlet's init() method, and
> then call whatever is correct in Turbine; it looks like
> this is complex, since Turbine's init() method gets the
> location for TR.properties by calling getInitParameter().
> How could I hook into this?
>
> Of course, this whole thing tells you how little I know about
> Java servlets...
Bad idea. There is absolutely no reason why you should want to subclass the
Turbine servlet itself. In fact, we should probably just make it final so
that people don't try to do that.
Is there something that you are trying to accomplish that it currently
doesn't do? If so, then it is probably better to provide that functionality
within Turbine.java itself so that other people can take advantage of it.
-jon
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]