Carlos Orrego wrote:

> can jsp and servlet share the same session?  if a create and fill
> information in a session in a servlet. Can a jsp page acces the same
> session? If in the jsp page i do: req.getSession(false); would it get
> the session created before in my servlet?  thnaks fro any info Carlos

Yes, servlets and JSP pages that are part of the same web application
share sessions.  They also share attributes stored in the
ServletContext.

Craig McClanahan

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to