I am not sure what you are planning to do, so it is a bit hard to be
helpful. It does not matter if there are file uploads on the form.
If the RequestProcessor detects that it is a multipart request and you
have associated an ActionForm with your Action, Struts will grab the
multipart request and parse it as coded in the Struts upload
application. This is, I think, unfortunate, but others are okay with
it. What I do is just not use the ActionForm.
The reason for the difference with multipart requests is that there is
a wrapper for the request created in the request processing. The code
is relatively simple.
Jack
On 4/28/05, rmanchu <[EMAIL PROTECTED]> wrote:
> Dakota Jack wrote:
>
> > you cannot use the ActionForm. From your question I assume you are
> > using the ActionForm and wondering what in the heck happened to your
> > multipart request?
>
> no. i just wanted to know if i do request.getParameter("paramname")
> within an Action for an ActionForm submitted as multipart-formdata would
> i get the same result as for a normally submitted ActionForm? there are
> no file uploads on the form
>
> riyaz
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
"You can lead a horse to water but you cannot make it float on its back."
~Dakota Jack~
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]