tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: Tomcat and Webdav - [Fatal Error] :-1:-1: Premature end of file
Date Wed, 27 Jun 2007 20:30:46 GMT
seems to be an encoding/decoding issue where IE stores filenames as UTF-8 
and tomcat references using ISO-8859-1
fileName = URLEncoder.encode("manual.pdf", "UTF-8");
http://mail-archives.apache.org/mod_mbox/tomcat-users/200504.mbox/%3C01LMZ3HNUHD6009V6M@fresno.net.uniovi.es%3E

M--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

----- Original Message ----- 
From: "Katilie, John" <John.Katilie@softwareagusa.com>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Wednesday, June 27, 2007 4:14 PM
Subject: Tomcat and Webdav - [Fatal Error] :-1:-1: Premature end of file


All, I'm not sure if I should post this question to the Tomcat or
Commons List server so please let me know if posting it to Tomcat is
Incorrect.

Anyways, I am running Tomcat 5.5.23 and a Standalone Java application
using Common HttpClient to access Webdav resources under Tomcat. When I
updated the client side commons-HttpClient.jar from 2.0 to 3.x I get an
error under Tomcat indicating: [Fatal Error] :-1:-1: Premature end of
file.

This message occurs even though everything seems to work. It occurs on
my 1st webdavResource instantiation:

httpURL        = new HttpURL(uri);
webdavResource = new WebdavResource(httpURL);

and it seems to occur on each WebdavResource.setPath() request..

Any and all comments are appreciated.

Regards, John Katilie



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message