[struts] ActionForm

Discussion in 'Java' started by Stefan Timmeier, Aug 27, 2005.

  1. 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
     
    Stefan Timmeier, Aug 27, 2005
    #1
    1. Advertising

  2. Stefan Timmeier

    isitmeorthey Guest

    Re: ActionForm

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

    Hope it helps.
     
    isitmeorthey, Aug 27, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. tom
    Replies:
    2
    Views:
    986
    code learner
    Dec 24, 2010
  2. Rode
    Replies:
    0
    Views:
    885
  3. PERCIVAL BRAGG
    Replies:
    0
    Views:
    573
    PERCIVAL BRAGG
    Oct 15, 2003
  4. Pratap Das
    Replies:
    2
    Views:
    2,088
    Pratap Das
    Apr 5, 2004
  5. sp

    Struts and actionForm

    sp, Jul 12, 2004, in forum: Java
    Replies:
    1
    Views:
    579
    Sudsy
    Jul 12, 2004
Loading...

Share This Page