I do not think websphere and weblogic does that. so the solution would not be portable at all. It is a pitty that guys at sun or sevlet engine implementors did not think of that...(YET !)
-----Original Message----- From: Bhangale, Bhushan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 3:34 PM To: [EMAIL PROTECTED] Subject: Re: [JSP-INTEREST] attaching methods to application and session objects You can very well do it. But in order to use the session class which you created, you need to register it into your server. Atleast iPlanet provide this facility. -----Original Message----- From: Cengiz KAYAY [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 3:41 AM To: [EMAIL PROTECTED] Subject: attaching methods to application and session objects Hi all; I have a question about HttpSession. I would like to put some methods into the session object. Cause the HttpSession is only an interface and underlying servlet engine does implement it. How Can I do such a thing if it is any possible ? so, Can I do that ? HttpSession session= request.getSession(true); session.doMyStuff(); Regards =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com "The information in this e-mail, and any attachment therein, is confidential and for use by the addressee only. If you are not the intended recipient, please return the e-mail to the sender and delete it from your computer. Although The Bank of New York attempts to sweep e-mail and attachments for viruses, it does not guarantee that either are virus-free and accepts no liability for any damage sustained as a result of viruses." =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com