to be able to read both string and file form field types.
Thanks,
Matt
- Original Message -
From: "Avinash Gangadharan" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Friday, May 14, 2004 5:08 PM
Subject: RE: gett
too big a deal
in theory. Knowing that this assumption was correct removes one potential
hassle. Thanks!
From: Avinash Gangadharan <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: 'Struts Users Mailing List' <[EMAIL PROTECTED]&g
x27;t be able to use the Struts and related tags and form
validation.
-Original Message-
From: Joe Hertz [mailto:[EMAIL PROTECTED]
Sent: Friday, May 14, 2004 3:27 PM
To: 'Struts Users Mailing List'
Subject: RE: getting non-struts form elements
Actually, it's not at
M
> To: [EMAIL PROTECTED]
> Subject: RE: getting non-struts form elements
>
>
> Is it the case that every Action MUST be associated with an
> ActionForm?
> Next week I have to start converting an app to Struts, and one of the
> assumptions I've been making is that
I can just do the empty
> form like you said, but I'd like to know if that's the only way...
>
>
> >From: Avinash Gangadharan <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >To: 'Struts Users Mai
the empty
form like you said, but I'd like to know if that's the only way...
From: Avinash Gangadharan <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
Subject: RE: get
At 4:44 PM -0500 5/14/04, Matt Bathje wrote:
Hi all.
I have a form that is not a struts form bean (no actionform, no dynaform,
nothing...)
Is it possible to have this submit to a struts action, and read the form
elements somehow? I need to be able to read simple (String) elements as well
as multi-p
Matt,
In your action class, you have the request and the response object which
will get you all your form elements
public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)
throws java.lang.Exception {
String xxx
Unless I'm missing something in your question, the answer is that you can
access the elements in the request object, they should still be there when
the submission gets to your Action.
From: "Matt Bathje" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts
If you want to submit it to a struts action, then presumably you can
control the action element of the form tag.
If so, why can't you associate the action with a struts form too?
It would help to have more information.
-Joe
> -Original Message-
> From: Matt Bathje [mailto:[EMAIL PROTECT
10 matches
Mail list logo