17 November 2008

JEE5 web-app declaration

I seem to have trouble finding the correct definition of the web-app tag for JEE5/Servlet2.5 modules.

So for nothing more than a readily available memo to myself, here it is:
<web-app
version="2.5"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">

The schema is located here: http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd

No comments: