The ActionForm you specified in your ActionMapping in struts-config.xml under the name attribute, e.g. "logonForm", is available to you in the execute method. Just cast your ActionForm parameter to the particular form you used with the Action, e.g., if you have
public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) And if your ActionForm is LogonForm, then LogonForm logonForm = (LogonForm)form; gives you the ActionForm to set as you desire. Cool, eh? Struts is wonderful. Why people hate ActionForms is beyond me. I love them. Jack On Wed, 17 Nov 2004 08:33:59 -0700, Wendy Smoak <[EMAIL PROTECTED]> wrote: > From: "Roland Carlsson" <[EMAIL PROTECTED]> > > When you say that the newinsurance.jsp "just see it" where do you store > > "it"? In request.setAttribute() with some key? Session? > > You don't have to store it anywhere... it's already there. In the 'execute' > method signature, you are given a _reference_ to the Form bean which is > already sitting where ever it belongs based on your configuration. Just use > it, set whatever properties you need to and then forward to the appropriate > JSP. > > -- > Wendy Smoak > > --------------------------------------------------------------------- > 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]