logo       

Re: Help! multipart/form-data use GET, not POST: msg#00040

text.xml.resin.user

Subject: Re: Help! multipart/form-data use GET, not POST

Thanks folks! But ...

Bond - James D. wrote:
Hmm, I use POST and it works fine for me? Gice your form a 'name' and see
if that makes a difference? I'm using Resin 2.1.11 on JDK 1.4.2
FORM tag does not have NAME attribute.

Ali Dufour wrote:
> Therefore, You don't have access to the parameters with the
> request.getParameter function.
No. The method should work for POST data no less than for GET data.

Serge Knystautas wrote:
> If you use the multipart/form-data encoding, you need to tell resin to
> decode it.
>
> http://www.caucho.com/resin-2.1/ref/app-config.xtp#multipart-form
Setting enable='true' in resin.conf doesn't work. Still, GET method is
used for multipart/form-data. Besides, ENCTYPE attr and
multipart/form-data value are standard parts of HTML standard and
they are very commonly used for invoking POST method. So, the server
default should NOT disable them. It certainly surprises common users.

.....

I'm still in stuck ;-)

--
Hiroshi Iwatani

*stop cruelty* Annual number of institutionally euthanized cats and dogs including kittens and puppies: US 5 million, JP 500 thousand. How about your country? *for our better karma*
---------------------



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise