On 2/22/00, 11:35:36 AM, Alessandra Spada <[EMAIL PROTECTED]> wrote
regarding servlet jsp with resin113b:

> How I can pass a bean to a jsp?
> Resin use the jsdk22 therefore I can't use the RequestDispatcher.

You are wrong in that because Resin supports Servlet2.2 & JSP 1.1 API,
so you can use RequestDispatcher as much as you like. Here's a short
example from a servlet:

        // put the myBean to request
        request.setAttribute("myBean",myBean);

        // use the RequestDispatcher to forward the request to a JSP
        getServletConfig().getServletContext().getRequestDispatcher("/jsp/my
Jsp.jsp").forward(request, response);



      K. Virkki

===========================================================================
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