|
Jetty example source code file (web.xml)
The Jetty web.xml source code<?xml version="1.0" encoding="ISO-8859-1"?> <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_5.xsd" metadata-complete="false" version="2.5"> <display-name>Test Annotations WebApp <listener> <listener-class>com.acme.TestListener </listener> <servlet> <servlet-name>AnnotationTest <servlet-class>com.acme.AnnotationTest <load-on-startup>1 </servlet> <servlet-mapping> <servlet-name>AnnotationTest <url-pattern>/test/* </servlet-mapping> <env-entry> <env-entry-name>com.acme.AnnotationTest/avgAmount <env-entry-value>1.25 <env-entry-type>java.lang.Double </env-entry> <env-entry> <env-entry-name>someAmount <env-entry-value>0.99 <env-entry-type>java.lang.Double </env-entry> </web-app> Other Jetty examples (source code examples)Here is a short list of links related to this Jetty web.xml source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.