try remove scope="request"
use just
<bean:write name="foo" />

could be just misspelling

Best Regards.
Michael.

-----Original Message-----
From: Matthew Denner [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 3:25 PM
To: [EMAIL PROTECTED]
Subject: Request scope beans problem


Hi,

I know I've probably done something really stupid but I can't get 
request scope beans working at all!  Here's what I have:

- an Action class that does 'request.setAttribute("foo", "bar")' and 
then forwards to a JSP
- the JSP does a <bean:write name="foo" scope="request"/>

All I ever see is:

org.apache.jasper.JasperException: Cannot find bean foo in scope request

If I use session scope (session.setAttribute() and scope="session") it's 
fine.

I'm using Tomcat 4.1.18 and Stuts 1.1rc1.

Matt



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

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

Reply via email to