首页 > Web开发 > 详细

struts2 web.xml声明文件

时间:2015-12-10 19:46:23      阅读:182      评论:0      收藏:0      [点我收藏+]

<? xml version= "1.0" encoding= "UTF-8" ?>

< web-app xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xmlns= "http://java.sun.com/xml/ns/javaee" xsi:schemaLocation ="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id= "WebApp_ID" version = "3.0">

  < display-name> struts2</ display-name>

  <filter >

  <filter-name >struts2 </filter-name >

  < filter-class> org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter </filter-class >

  </filter >

  <filter-mapping >

  <filter-name >struts2 </filter-name >

  <url-pattern >/* </url-pattern >

  </filter-mapping >

  < welcome-file-list >

  <welcome-file >index.jsp </welcome-file >

  </ welcome-file-list >

</ web-app>



struts2 web.xml声明文件

原文:http://icola.blog.51cto.com/5412204/1721682

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!