Hello, 
   I'm interested in customize the default HttpSession, but I don't know how
can I custom it? I should like when form my servlet I execute
req.getSession(), it returns me my customized HttpSession:
     
                     HttpSession session = req.getSession(true);
                     CustomHttpSession mySession =
(CustomHttpSession)session;

I want it because I need classes associated to session and I've thunk extend
a httpSession and add properties to use later. Is it possible modifying the
server.xml?

If it isn't possible to do it, Is possible create simple java classes that
behaviors with HttpSession.
-- 
View this message in context: 
http://www.nabble.com/custom-HttpSession-server.xml-tf2094591.html#a5773979
Sent from the Tomcat - Dev forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to