It is exactly the same object. If you forward from a JSP to servlet,
getSession() in the servlet will return the "session" object from the JSP.
Of course you must ensure your JSP is "session aware"" using <%@page session="true"%>
*Saran
Ravi wrote:
>
> Is there any difference between a HttpSession object created by
>request.getSession(true/false) and the default session(of type HttpSession) object
>available in every JSP page.
>
> Thanks
===========================================================================
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://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets