We Recommend

Java How to Program Java How to Program
Takes a new tools-based approach to Web application development that uses Netbeans 5.5 and Java Studio Creator 2 to create and consume Web Services. Features new AJAX-enabled, Web applications built with JavaServer Faces (JSF), Java Studio Creator 2 and the Java Blueprints AJAX Components. Includes new topics throughout, such as JDBC 4, SwingWorker for multithreaded GUIs, GroupLayout, Java Desktop Integration Components (JDIC), and much more.


Posted By

thebugslayer on 09/24/07


Tagged

servlet webapp


Versions (?)


Who likes this?

1 person has marked this snippet as a favorite

liqweed


Minimal web.xml web-app descriptor version 2.5


Published in: Java 


  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <web-app xmlns="http://java.sun.com/xml/ns/javaee"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
  5. version="2.5">
  6. <display-name>Archetype Created Web Application</display-name>
  7. <!--
  8. <servlet>
  9. <servlet-name>HelloWorldExample</servlet-name>
  10. <servlet-class>cnx.mywebapp.HelloWorldExample</servlet-class>
  11. </servlet>
  12. <servlet-mapping>
  13. <servlet-name>HelloWorldExample</servlet-name>
  14. <url-pattern>/hello</url-pattern>
  15. </servlet-mapping>
  16. -->
  17. </web-app>

Report this snippet 

You need to login to post a comment.