I had the same problem. When my condition to send back to the calling page is met I:
//Instantiate a new form bean Form form = new Form(); //here I set some of the form properties //form.setIdField("1234"); //set the mapping attribute to the name of my form in struts-config.xml mapping.setAttribute("exampleForm"); //then put your newly instantiated form in the request request.setAttribute(mapping.getAttribute(), form ); When control is returned to the calling page, the new form will be in the request. Hope this helps, Tim Timothy Eiring Consultant Greenbrier and Russel, Inc. 250 N. Sunny Slope Road Suite 375 Brookfield, WI 53005 262.780.3400 fax: 262.780.3410 cell: 414.732.9986 www.gr.com >>> [EMAIL PROTECTED] 12/03/01 06:49PM >>> Hello, I have a jsp that displays data and has a very simple one-button form with one hidden field. When this form is submitted, ExitAction is called. In ExitAction's perform method, if a certain condition occurs, I want to return to the calling page. I do this with the following code: return new ActionForward(mapping.getInput()); My problem is that my jsp references a request-scope bean, and when returning to it, the bean is out of scope. If I put the bean in the session the problem does not occur (i.e., the jsp can access it), but I would rather leave the bean in the request. Any thoughts on how I can get around this? Do I have to specify a jsp file in the input parameter in struts-config, or can I specify an action? Thanks, Karen -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>