Andy, Just to understand your page flow....
The first request goes to /home.do, which puts "junkbean" into the request scope, forwards to index.jsp. On submit of the form on index.jsp, /login.do is invoked which then forwards to /home.do. Is this understanding correct..? Which action/page gives you "Cannot find bean junkbean in any scope" ? -jayash Andy Wrote: 1. IndexAction (mapped to /home.do) puts data into the bean: List users = service.viewAllPeople(birForm); request.setAttribute("junkbean", users); ...and then returns index.jsp: <forward name="continue" path="/WEB-INF/pages/index.jsp"/> 2. Within this index.jsp is a form, which is submitted to LoginAction. 3. When I submit the form to LoginAction and LoginAction is finished, then I want to return the /home.do mapping, or display the index.jsp screen again: <action path="/login" type="com.andyengle.actions.LogonAction" name="logonForm" scope="request" input="/WEB-INF/pages/index.jsp"> <forward name="continue" path="/home.do"/> </action> 4. When I do this, I get the following error: Cannot find bean junkbean in any scope -----Original Message----- From: Andy Engle [mailto:[EMAIL PROTECTED] Sent: Thursday, March 04, 2004 3:47 PM To: Struts Users Mailing List Subject: RE: Returning fully-stocked Actions/JSPs from other Actions "Gopalakrishnan, Jayesh" wrote: > Your junkbean is lost once index.jsp is rendered on the browser. > Thats the end of the request scope. If you want the "junkbean" to > last for more than 1 page on the browser, I guess "session" scope is > appropriate. Sure, but I don't want the bean to be saved at the session scope level because it will be updated from request to request, hence the reason I am loading it with new information before I send back index.jsp, which will access the bean. Thanks! Andy --------------------------------------------------------------------- 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]