David Kamber wrote:
> Hi,
>
> I wonder whether it is possible in an non-intrusive way to replace the
> session object? I do not want to take over session management from the
> Servlet engine but I'd like to subclass the session object, which means
> I'd have to have access to the factory (if there is one) and tell it to
> produce a different kind of object.
>
> Or is there a property which tell the engine what object it should
> produce?
>
> Any help dearly welcome!
>
It is not possible to do what you describe without modifying whatever servlet
container you are running under -- and such changes would not be portable to
any other container.
What is quite easy is to replace existing session attributes with new values
-- you should explore using that approach rather than trying to change what
the servlet container provides you.
>
> ++dk
>
Craig McClanahan
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html