Advertisement
Javi

Struts web.xml

Feb 17th, 2012
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.98 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
  3.   <display-name>OpenBankStruts</display-name>
  4.  
  5.   <servlet>
  6.     <servlet-name>ActionServlet</servlet-name>
  7.     <servlet-class>
  8.         org.apache.struts.action.ActionServlet
  9.     </servlet-class>
  10.     <init-param>
  11.         <param-name>config</param-name>
  12.         <param-value>/WEB-INF/struts-config.xml</param-value>  
  13.     </init-param>
  14.     <load-on-startup>2</load-on-startup>
  15.   </servlet>
  16.  
  17.   <servlet-mapping>
  18.     <servlet-name>ActionServlet</servlet-name>
  19.     <url-pattern>*.do</url-pattern>
  20.   </servlet-mapping>
  21.  
  22.   <welcome-file-list>
  23.     <welcome-file>index.html</welcome-file>
  24.     <welcome-file>index.jsp</welcome-file>
  25.   </welcome-file-list>
  26. </web-app>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement