Make sure you do not use "redirect" when you forward from your action to the JSP. This is defined in your struts-config.xml. You should use something like:
<forward name="foo" path="/jsp/foo.jsp" redirect="false" /> When you redirect the browser will initiate a whole new HTTP request, so anything stored in original request was lost. Hope this is helpful - GZ -----Original Message----- From: Matthew Denner [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 6: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]