geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "K.E." <englert...@yahoo.de>
Subject Re: Error parsing web.xml for .
Date Tue, 29 Aug 2006 12:23:11 GMT

ups ... that exactly was the problem. I edited the files with NVU. Then I
used TextEdit which comes with OS X and also adds stuff to the files that
you do not see directly (at least the way I saved them)..... at the end I
used Taco HTML Edit, an OS X HTML editor which is also able to save files as
plain-text.... and Hooray: it works!!

Thanks a lot for all efforts and helping me!!!

Lots of greetings.
Katja


Gert Vanthienen wrote:
> 
> Katja,
> 
> It looks as if you have used an HTML editor to edit the XML file.  The 
> actual contents of your web.xml, if you open it with e.g. Notepad, is
> this:
> 
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
>   <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
>   <title>web</title>
> </head>
> <body>
> &lt;?xml version="1.0" encoding="UTF-8"?&gt;<br>
> <br>
> &lt;web-app version="2.4"<br>
> <br>
> &nbsp;&nbsp; xmlns="http://java.sun.com/xml/ns/j2ee"<br>
> &nbsp;&nbsp;&nbsp;
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"<br>
> &nbsp;&nbsp; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee<br>
> &nbsp;&nbsp; http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"&gt;<br>
> <br>
> &nbsp;&nbsp;&nbsp; &lt;welcome-file-list&gt;<br>
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
> &lt;welcome-file&gt;HelloWorld.jsp&lt;/welcome-file&gt;<br>
> &nbsp;&nbsp;&nbsp; &lt;/welcome-file-list&gt;<br>
> <br>
> &lt;/web-app&gt;
> </body>
> </html>
> 
> You should try to edit this file with an other editor (e.g. the Eclipse 
> XML or Text editor, Notepad++, ...)
> 
> 
> Regards,
> 
> Gert Vanthienen
> gert@anova.be
> 

-- 
View this message in context: http://www.nabble.com/Error-parsing-web.xml-for-.-tf2173318.html#a6037919
Sent from the Apache Geronimo - Users forum at Nabble.com.


Mime
View raw message