tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dhiren Bhatia <dhir...@gmail.com>
Subject Re: Multipart Request
Date Sun, 09 Oct 2005 18:13:57 GMT
Yea, I'm using Struts. I like some of its features so I want to continue
using it. But multipart is a mess. So, is there any way to retain the
parameters in HTTPServletRequest?
 Thanks.

 On 10/9/05, Dakota Jack <dakota.jack@gmail.com> wrote:
>
> Are you using Struts? Struts has a bizarre idea that causes this type
> of problem.
>
>
>
> On 10/8/05, Dhiren Bhatia <dhiren9@gmail.com> wrote:
> > Hi all,
> > I'm having trouble with the HttpServletRequest object if my post
> contains
> > multipart data. The request object loses all the parameters set from the
> > html form.
> > i.e. request.getParameter("myParam"); always returns null. If I remove
> the
> > multipart encoding from my form, I see the parameter values.
> > If I use the OReilly MultipartRequest, the constructor needs me to set
> the
> > directory to save the file in so I cannot make that value dynamic by
> > receiving it from the HTTP post. I want to receive the dir name where
> the
> > file will be saved from the HTML form.
> > Any ideas? Hope this makes sense.
> > Thanks,
> > -D
> >
> >
>
>
> --
> "You can lead a horse to water but you cannot make it float on its back."
> ~Dakota Jack~
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message