I dont understand what you mean "passes the request". If you are doing a jsp:include action, then variables and methods defined by the including page cannot be shared by the included page. The only way is to pass the bean as a param action to the included page.
-- padhu Joel Carklin wrote:
Hi, if I use the following tag in my jsp: <jsp:useBean id="myBean" scope="request" class="package.name.myBean" /> When I click on the submit button on my form, the 'request' is POSTED to a 'controller' jsp, which passes the 'request' onto a request handler class. I expected that if I called request.getAttribute("myBean") from either the controller jsp or the request handler class, I would get the myBean instance created by the useBean tag above. But I always get null?? thanks Joel =========================================================================== 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