logo       

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

text.xml.resin.user

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

Hiroshi Iwatani wrote:
In a routine common HTML form:

<FORM ACTION="/servlet/BlahBlah" ENCTYPE="multipart/form-data">

input data are sent via GET, not POST. That is very incovenient because
of URL encoding. However, if we explicitly specify the POST method,

<FORM ACTION="/servlet/BlahBlah" METHOD="POST" ENCTYPE="multipart/form-data">

data are not sent from the client and every response.getParameter() is null.

I'd like to hear what do you guess/suspect could be the cause of this
malfunctioning?

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

--
Serge Knystautas
President
Lokitech >> software . strategy . design >> http://www.lokitech.com
p. 301.656.5501
e. sergek@xxxxxxxxxxxx




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

News | FAQ | advertise