is this:

<jsp:useBean id="contractListForm" scope="request" 
class="view.ContractListForm"/>


contained within a <form></form> tag?


--- Karl Stenerud <[EMAIL PROTECTED]> wrote:
> My struts application keeps losing the page context,
> so I can't get anything 
> that was saved into the request scope.
> 
> My action does this:
> 
>               request.setAttribute("contractListForm", outForm);
> 
> 
> The jsp for the next page does this:
> 
> <jsp:useBean id="contractListForm" scope="request" 
> class="view.ContractListForm"/>
> 
> 
> But it keeps throwing this exception:
> 
> org.apache.jasper.JasperException: Cannot find bean
> element in scope null
>         at 
>
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:248)
>         at 
>
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
>         at
>
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>         at
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at 
>
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
>         at 
>
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
>         at 
>
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
>         at 
>
org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.java:1759)
>         at 
>
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)
>         at 
>
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
>         at
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
>         at
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> ...
> 
> 
> 
> How can I get access to my contractListForm in the
> jsp page?
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to