Skip to content

Instantly share code, notes, and snippets.

@abdennebi
Created May 5, 2014 09:31
Show Gist options
  • Save abdennebi/6e7208ffda007e8db772 to your computer and use it in GitHub Desktop.
Save abdennebi/6e7208ffda007e8db772 to your computer and use it in GitHub Desktop.
Web xml 2.5 sample
<web-app 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"
version="2.5">
<web-app>
<display-name>Servlet 2.5 Web Application</display-name>
</web-app>
@jochenw
Copy link

jochenw commented Apr 4, 2024

Invalid syntax, because of the double web-app element.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment