You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Geoff Longman <gl...@intelligentworks.com> on 2004/07/16 20:08:40 UTC

Is this a valid web.xml for a Servlet 2.4 container?

Just wondering...

<?xml version="1.0"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee 
<http://java.sun.com/xml/ns/j2ee>"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 
<http://www.w3.org/2001/XMLSchema-instance>"
   xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd 
<http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd>"
version="2.4">
   <display-name>POO</display
-name>
   <filter>
       <filter-name>redirect</filter-name>
       <filter-class>org.apache.tapestry.RedirectFilter</filter-class>
   </filter>
   <filter-mapping>
       <filter-name>redirect</filter-name>
       <url-pattern>/</url-pattern>
   </filter-mapping>
   <servlet>
       <servlet-name>POO</servlet-name>
       <servlet-class>org.apache.tapestry.ApplicationServlet</servlet-class>
       <load-on-startup>1</load-on-startup>
   </servlet>
   <servlet-mapping>
       <servlet-name>POO</servlet-name>
       <url-pattern>/app</url-pattern>
   </servlet-mapping>
</web-app>


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


RE: Is this a valid web.xml for a Servlet 2.4 container?

Posted by Wouter de Vaal <wo...@online.ie>.
Hi Geoff,

The web-app element should be like this:

<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">

Bye,
Wouter 

> -----Original Message-----
> From: Geoff Longman [mailto:glongman@intelligentworks.com] 
> Sent: Friday, July 16, 2004 8:53 PM
> To: Tapestry users
> Subject: Re: Is this a valid web.xml for a Servlet 2.4 container?
> 
> Trying again, the stuff got mangled!
> 
> This time as an attachement.
> 
> thx,
> 
> Geoff
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Is this a valid web.xml for a Servlet 2.4 container?

Posted by Geoff Longman <gl...@intelligentworks.com>.
Trying again, the stuff got mangled!

This time as an attachement.

thx,

Geoff