Advertisement
Guest User

Tomcat example / stack overflow

a guest
Nov 17th, 2011
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.86 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <web-app version="2.5" 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">
  3.     <session-config>
  4.         <session-timeout>
  5.             30
  6.         </session-timeout>
  7.     </session-config>
  8.     <welcome-file-list>
  9.         <welcome-file>index.jsp</welcome-file>
  10.     </welcome-file-list>
  11.     <jsp-config>
  12.         <jsp-property-group>
  13.             <description>header and footer settings</description>
  14.             <url-pattern>/index.jsp</url-pattern>
  15.             <url-pattern>/view/*</url-pattern>
  16.             <include-prelude>/view/header.jspf</include-prelude>
  17.             <include-coda>/view/footer.jspf</include-coda>
  18.         </jsp-property-group>
  19.     </jsp-config>
  20. </web-app>
  21.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement