Hi,

what is the alternative of passing classes through HttpSession from servlet
classes to JSP?
I've been using session in conjunction with:
    ServletContext sc = servlet.getServletContext();
    RequestDispatcher rd = sc.getRequestDispatcher (url);
    rd.forward (req, res);

and would like to change "session approach" to request/response pair when
possible.
While JSP-ToServlet change was easy (use request.getParameter on the server
of JSP value placed in a form), I am shortsighted as to how to pass the data
the other way without resorting to session.
Please help.


Vadim Shun
NEW Corp
Dulles, VA

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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

Reply via email to