web.xml中的配置
来源:互联网 发布:国内航测软件 编辑:程序博客网 时间:2024/05/17 09:25
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<!--中文编码过滤器-->
<filter>
<filter-name>CharacterEncodingFilter</filter-name>
<filter-class>com.filter.CharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>GB2312</param-value>
</init-param>
<init-param>
<param-name>ignore</param-name>
<param-value>true</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>CharacterEncodingFilter</filter-name>
<servlet-name>action</servlet-name>
</filter-mapping>
<!--Struts标签库配置-->
<jsp-config>
<taglib>
<taglib-uri>/struts-bean</taglib-uri>
<taglib-location>/WEB-INF/tld/struts-bean.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/struts-html</taglib-uri>
<taglib-location>/WEB-INF/tld/struts-html.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/struts-logic</taglib-uri>
<taglib-location>/WEB-INF/tld/struts-logic.tld</taglib-location>
</taglib>
</jsp-config>
<!--JSONRPC 组件-->
<servlet>
<servlet-name>com.metaparadigm.jsonrpc.JSONRPCServlet</servlet-name>
<servlet-class>com.metaparadigm.jsonrpc.JSONRPCServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>com.metaparadigm.jsonrpc.JSONRPCServlet</servlet-name>
<url-pattern>/JSON-RPC</url-pattern>
</servlet-mapping>
<!--配置Struts中央控制器-->
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>3</param-value>
</init-param>
<init-param>
<param-name>detail</param-name>
<param-value>3</param-value>
</init-param>
<load-on-startup>0</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<!--配置欢迎文件-->
<welcome-file-list>
<welcome-file>index.htm</welcome-file>
</welcome-file-list>
<!--配置spring组件文件-->
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath*:applicationContext-*.xml</param-value>
</context-param>
<!--配置spring监听文件-->
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
</web-app>
- web.xml中的配置
- web.xml中的配置
- web.xml中的一些配置
- web.xml 中的安全性配置
- SSH中的web.xml配置
- spring web.xml中的配置
- web.xml中的各种配置
- struts2中的web.xml配置
- web.xml中的相关配置
- Web.XMl中的各种配置
- spring web.xml中的配置
- Web.xml中的一些配置
- web.xml配置web中的key points
- Sring Web MVC web.xml中的配置
- web.xml加载顺序,以及web.xml中的元素配置
- 安装jstl中的web.xml配置问题
- fileter 在web.xml中的配置
- acegi 在Web.xml中的配置
- Never be fooled
- jsp分页小方法
- Delphi字符串函数大全
- 在ASP.NET中使用Office Web Components (OWC)创建统计图
- 十句话
- web.xml中的配置
- Novint falcon
- try...catch.. 和预编译宏、assert
- pku 2777
- One torture
- 面试经典对话(转)
- 也谈将界面代码和功能代码分离(基于DELPHI/VCL)
- 股票K线图-JfreeChart版
- 马化腾关于产品设计与用户体验的培训