geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gert Vanthienen <gert.vanthie...@skynet.be>
Subject Re: Error parsing web.xml for .
Date Tue, 29 Aug 2006 09:53:23 GMT
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


K.E. wrote:
> Hi,
> here is the .war - file I tried to deploy.
> thanks and greetings
> katja
>
> http://www.nabble.com/user-files/235796/HelloWorld.war HelloWorld.war 
>
>
>
> Hernan Cunico wrote:
>   
>> Hi Katja,
>> I just ran the sample, step-by-step from that URL and it worked for me 
>> with Geronimo v1.1 - Jetty and Java 1.5.0_06
>>
>> Can you attach the war you are trying to deploy?
>>
>> Cheers!
>> Hernan
>>
>>     

Mime
View raw message