The best place to ask a question like this is the USER list, so I will
copy them in on the reply. 

I believe you will want the flow to go first to your Action. The mapping
for the Action will include a reference to your ActionForm, which has
your data bean as a property. Struts will instantiate the ActionForm
automatically, place it into the request (or session), and call the
Action's perform() method. You can do anything you need to the data
property then by casting the "form" parameter to your ActionForm type.
If you then call findForward(), the ActionForm will be available to the
JSP (since it is already in the request or session context).

Can't help with the second question ;-(

-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- http://www.husted.com/about/struts/


kaka wika wrote:
> 
> I am on a project at UCLES, Cambridge, and we are using struts. We have
> almost finished a proof of concept implementation, however, are struggling
> completing the flow.
> 
> We have created an action class and a data bean, which is a private object
> within an action form. Do we then create a new action form, set the bean and
> add it (action form) to the request, and invoke the findForward() method on
> the ActionMapping object? Will this make the ActionForm object available to
> the jsp?
> 
> Appreciate any help.
> 
> Also, has anyone had any experience with running struts on Weblogic proxied
> via IIS on win2k?
> 
> Thanks in advance!
> 
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

Reply via email to