When I try to upload a pdf or another file file give this error:
Java Plug-in 1.5.0
Using JRE version 1.5.0_19 Java HotSpot(TM) Client VM
User home directory = /Users/carlapearson
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------
[INFO] HTTPUploadTransfer - Upload (POST) started : /Users/carlapearson/Desktop/SaferAnt&RoachMSDS.pdf
[DEBUG] HttpConnection - Open connection to www.tatibiu:80
[DEBUG] header - >> "POST /jspupload/process.jsp HTTP/1.1[\r][\n]"
[DEBUG] HttpMethodBase - Adding Host request header
[DEBUG] header - >> "User-Agent: JFileUpload[\r][\n]"
[DEBUG] header - >> "Host: www.tatibiu[\r][\n]"
[DEBUG] header - >> "Content-Length: 153484[\r][\n]"
[DEBUG] header - >> "Content-Type: multipart/form-data; boundary=PQqWxvPk_wUSC79_0y1dqip86U1SxaIxFesQm[\r][\n]"
[DEBUG] header - >> "[\r][\n]"
[DEBUG] EntityEnclosingMethod - Request body sent
[DEBUG] header - << "HTTP/1.1 302 Found[\r][\n]"
[DEBUG] header - << "HTTP/1.1 302 Found[\r][\n]"
[DEBUG] header - << "Date: Sat, 06 Mar 2010 05:49:26 GMT[\r][\n]"
[DEBUG] header - << "Server: Apache/2.2.3 (Red Hat)[\r][\n]"
[DEBUG] header - << "Location: http://search3.comcast.com/?cat=dnsr&co ... ww.tatibiu[\r][\n]"
[DEBUG] header - << "Connection: close[\r][\n]"
[DEBUG] header - << "Transfer-Encoding: chunked[\r][\n]"
[DEBUG] header - << "Content-Type: text/html; charset=UTF-8[\r][\n]"
[DEBUG] header - << "[\r][\n]"
[DEBUG] HttpMethodDirector - Redirect required
[INFO] HTTPUploadTransfer - Upload Status code = 302
[DEBUG] header - << "[\r][\n]"
[DEBUG] HttpMethodBase - Should close connection in response to directive: close
[DEBUG] HttpConnection - Releasing connection back to connection manager.
[INFO] HTTPUploadTransfer - Upload failed
Trying to make jFileUpload workRe: Trying to make jFileUpload workYour server returns HTTP 302 which means redirect to another web page.
Is the upload page protected with a login/password ? If so then it would explain the 302 to a login page. Have a look at: http://www.jfileupload.com/products/jfi ... ation.html Re: Trying to make jFileUpload workno, this page does not need login.
Re: Trying to make jFileUpload workThe problem is 302, do you know why your server returns 302 (which means redirect to another web page) for upload?
|