Joel,

Show us a *minimal* example of the page that includes the <jsp:useBean> and
the controller jsp -- "minimal" amount of code to illustrate the behavior.


----- Original Message -----
From: "Joel Carklin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 29, 2002 4:50 AM
Subject: Basic jsp:useBean question


> 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

Reply via email to