Hi all,
I get this strange error message:
[Fatal Error] :-1:-1: Premature end of file.
when dragging or creating folders into my webfolder.
This happens with my own webdav module (I finally manged to extract
webdav from Tomcat 4), as well as with the original Tomcat 4
installation. The only
Yikes,
Almost the exact second I hit "send" on my last message, I realized that the
issue is probably the Content-Type, and in fact, changing the request header
to
Content-Type:text/xml
caused the issue with POST to go away completely and my app functions
fine.
My only remaining question is
I am getting a Fatal Error when POSTing, but not PUTing,
some XML data to my servlet.
In the Command Window the following is shown:
"[Fatal Error] :-1:-1: Premature end of file."
I also print out the Exception that I caught:
Error: org.xml.sax.SAXParseException: Premature e