Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
Win a copy of
Helidon Revealed: A Practical Guide to Oracle’s Microservices Framework
this week in the
Java in General
forum!
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Liutauras Vilda
Ron McLeod
Sheriffs:
Jeanne Boyarsky
Devaka Cooray
Paul Clapham
Saloon Keepers:
Scott Selikoff
Tim Holloway
Piet Souris
Mikalai Zaikin
Frits Walraven
Bartenders:
Stephan van Hulst
Carey Brown
Forum:
Struts
Parse error on web.xml when deployed on Unix
M Conlin
Greenhorn
Posts: 15
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Locally on my windows xp machine my .war application works correctly.
When I deploy to unix I get the following error;
SEVERE: Parse error in default web.xml
org.xml.sax.SAXParseException: Premature end of file.
HOWEVER, if I "touch" the web.xml file
tomcat
is able to pick it up and parse it correctly and all is well.
Any thoughts? Thanks!
Merrill Higginson
Ranch Hand
Posts: 4864
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
This is probably due to the different carriage return and line feed (CR/LF) characters used on Windows and Unix.
Here's a link that explains it:
http://usertools.plus.net/tutorials/id/22
My recommendation is to get a windows text editor that will allow you to save files bound for a Unix system with the proper CR/LF characters.
Merrill
Consultant,
Sima Solutions
So there I was, trapped in the jungle. And at the last minute, I was saved by this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
SAXParseException
jsp compile error
Struts config works on windows, not on Unix
upload.parseRequest(request); giving null.
tomcat error
More...