[struts] ActionForm

S

Stefan Timmeier

Hello,

I am new to struts and I have an ActionForm which puts the values of an
Object and then calls an Action. But how can I call this object filled in by
the ActionForm within the Action?

The ActionCall looks like the normal one:

public ActionForward execute(ActionMapping mapping, ActionForm
form,HttpServletRequest request, HttpServletResponse response) throws
IOException, ServletException){....}

So I guess it is something like form.get... ?

Thanks for your help!

Stefan
 
I

isitmeorthey

(yourActionForm)form."whatever getter setter method of your actionform"

Hope it helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,738
Latest member
JinaMacvit

Latest Threads

Top