commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian K. Wallace" <br...@transmorphix.com>
Subject Re: upload file [FileUpload]
Date Sun, 12 Mar 2006 07:08:11 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Marc -

  Make sure you're using POST, not GET on your form.

Brian
Marc Collin wrote:
> Le Vendredi 10 Mars 2006 16:28, Brian K. Wallace a écrit :
>> I wouldn't use "add archive jar" to place anything in a runtime
>> classpath. Ideally, during the packaging of a war you'd have something
>> just copy those files where they need to be.
>>
>> As for adding jars - if they're needed for compile, add them through
>> eclipse's build path. To get them recognized for runtime - just manually
>> put them where they need to be.
>>
> 
> ok now i click send (i will only one file), the browser seem to wait....
> 
> eclise return me:
> 
> 
> 
> org.apache.commons.fileupload.FileUploadBase$InvalidContentTypeException: the 
> request doesn't contain a multipart/form-data or multipart/mixed stream, 
> content type header is application/x-www-form-urlencoded
> 	at 
> org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:294)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)

iD8DBQFEE8jbaCoPKRow/gARAtTnAJ9+WMzyqvjpwlqxuqg0+Zfh8nBnmwCg9Qbo
6RbmLCngG2ytlff1FbfsnM4=
=hIfy
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message