Subversion Repositories javautils

Rev

View as "text/xml" | Blame | Last modification | View Log | RSS feed

  1. <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
  2.  
  3. <web-app>
  4.   <display-name>JspDemo</display-name>
  5.   <description>no description</description>
  6.   <servlet>
  7.     <servlet-name>FilterServlet</servlet-name>
  8.     <display-name>FilterServlet</display-name>
  9.     <description>no description</description>
  10.     <servlet-class>demo.FilterServlet</servlet-class>
  11.   </servlet>
  12.   <servlet>
  13.     <servlet-name>AttachmentServlet</servlet-name>
  14.     <display-name>AttachmentServlet</display-name>
  15.     <description>no description</description>
  16.     <servlet-class>demo.AttachmentServlet</servlet-class>
  17.   </servlet>
  18.   <servlet-mapping>
  19.     <servlet-name>FilterServlet</servlet-name>
  20.     <url-pattern>/compose</url-pattern>
  21.   </servlet-mapping>
  22.   <servlet-mapping>
  23.     <servlet-name>FilterServlet</servlet-name>
  24.     <url-pattern>/errordetails</url-pattern>
  25.   </servlet-mapping>
  26.   <servlet-mapping>
  27.     <servlet-name>FilterServlet</servlet-name>
  28.     <url-pattern>/login</url-pattern>
  29.   </servlet-mapping>
  30.   <servlet-mapping>
  31.     <servlet-name>FilterServlet</servlet-name>
  32.     <url-pattern>/logout</url-pattern>
  33.   </servlet-mapping>
  34.   <servlet-mapping>
  35.     <servlet-name>FilterServlet</servlet-name>
  36.     <url-pattern>/send</url-pattern>
  37.   </servlet-mapping>
  38.   <servlet-mapping>
  39.     <servlet-name>FilterServlet</servlet-name>
  40.     <url-pattern>/messageheaders</url-pattern>
  41.   </servlet-mapping>
  42.   <servlet-mapping>
  43.     <servlet-name>FilterServlet</servlet-name>
  44.     <url-pattern>/messagecontent</url-pattern>
  45.   </servlet-mapping>
  46.   <servlet-mapping>
  47.     <servlet-name>AttachmentServlet</servlet-name>
  48.     <url-pattern>/attachment</url-pattern>
  49.   </servlet-mapping>
  50.   <taglib>
  51.     <taglib-uri>http://java.sun.com/products/javamail/demo/webapp</taglib-uri>
  52.     <taglib-location>/WEB-INF/lib/jtl.jar</taglib-location>
  53.   </taglib>
  54.   <resource-ref>
  55.     <res-ref-name>MySession</res-ref-name>
  56.     <res-type>javax.mail.Session</res-type>
  57.     <res-auth>Container</res-auth>
  58.   </resource-ref>
  59. </web-app>
  60.