- 浏览: 1489552 次
- 性别:
- 来自: 杭州
文章分类
- 全部博客 (525)
- SEO (16)
- JAVA-EE-Hibernate (6)
- JAVA-EE-Struts (29)
- JAVA-EE-Spring (15)
- Linux (37)
- JAVA-SE (29)
- NetWork (1)
- CMS (14)
- Semantic Research (3)
- RIA-Flex (0)
- Ajax-Extjs (4)
- Ajax-Jquery (1)
- www.godaddy.com (0)
- SSH (34)
- JavaScript (6)
- SoftwareEngineer (9)
- CMMI (0)
- IDE-Myeclipse (3)
- PHP (1)
- Algorithm (3)
- C/C++ (18)
- Concept&Items (2)
- Useful WebSite (1)
- ApacheServer (2)
- CodeReading (1)
- Socket (2)
- UML (10)
- PowerDesigner (1)
- Repository (19)
- MySQL (3)
- SqlServer (0)
- Society (1)
- Tomcat (7)
- WebService (5)
- JBoss (1)
- FCKeditor (1)
- PS/DW/CD/FW (0)
- DesignPattern (11)
- WebSite_Security (1)
- WordPress (5)
- WebConstruction (3)
- XML|XSD (7)
- Android (0)
- Project-In-Action (9)
- DatabaseDesign (3)
- taglib (7)
- DIV+CSS (10)
- Silverlight (52)
- JSON (7)
- VC++ (8)
- C# (8)
- LINQ (1)
- WCF&SOA (5)
- .NET (20)
- SOA (1)
- Mashup (2)
- RegEx (6)
- Psychology (5)
- Stock (1)
- Google (2)
- Interview (4)
- HTML5 (1)
- Marketing (4)
- Vaadin (2)
- Agile (2)
- Apache-common (6)
- ANTLR (0)
- REST (1)
- HtmlAnalysis (18)
- csv-export (3)
- Nucth (3)
- Xpath (1)
- Velocity (6)
- ASP.NET (9)
- Product (2)
- CSS (1)
最新评论
-
lt26w:
理解成门面模式应该比较容易明白吧
FacadePattern-Java代码实例讲解 -
lt26w:
看下面的例子比较明白.
FacadePattern-Java代码实例讲解 -
javaloverkehui:
这也叫文档,别逗我行吗,也就自己看看。
HtmlCleaner API -
SE_XiaoFeng:
至少也应该写个注释吧。
HtmlCleaner API -
jfzshandong:
...
org.springframework.web.filter.CharacterEncodingFilter 配置
<?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"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
web-app_2_4.xsd"
version="2.4">
<!--
- Contacts web
application
-
- web.xml for "filter" artifact
only.
-
- $Id: web.xml,v 1.18
2007/04/16 04:44:41 jianfeng.zhang Exp $
-->
<display-name>51point Application</display-name>
<!--
- Location of the XML file that
defines the root application context
- Applied by
ContextLoaderListener.
-->
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
/WEB-INF/classes/webApplicationContext.xml
/WEB-INF/classes/hibernateContext.xml
/WEB-INF/classes/commonApplicationContext.xml
/WEB-INF/classes/permissionApplicationContext.xml
/WEB-INF/classes/applicationContext_zjf.xml
/WEB-INF/classes/applicationContext_hh.xml
/WEB-INF/classes/applicationContext_hcc.xml
/WEB-INF/classes/applicationContext_wdj.xml
/WEB-INF/classes/applicationContext_cyk.xml
/WEB-INF/classes/applicationContext_jjq.xml
/WEB-INF/classes/schedulerContext.xml
</param-value>
</context-param>
<context-param>
<param-name>webAppRootKey</param-name>
<param-value>point.root</param-value>
</context-param>
<context-param>
<param-name>log4jConfigLocation</param-name>
<param-value>/WEB-INF/classes/log4j.properties</param-value>
</context-param>
<filter>
<filter-name>Set
Character Encoding</filter-name>
<filter-class>
com.insightcn.point.web.filter.SetEncodeFilter
</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>GBK</param-value>
</init-param>
</filter>
<filter>
<filter-name>ConsoleLoginFilter</filter-name>
<filter-class>
com.insightcn.point.web.filter.CheckLoginFilter
</filter-class>
<init-param>
<param-name>exceptable-pages</param-name>
<param-value>manage/index.jsp,manage/login.do</param-value>
</init-param>
<init-param>
<param-name>admin-login-page</param-name>
<param-value>/manage/index.jsp</param-value>
</init-param>
</filter>
<filter>
<filter-name>FrontCheckLoginFilter</filter-name>
<filter-class>
com.insightcn.point.web.filter.FrontCheckLoginFilter
</filter-class>
<init-param>
<param-name>exceptable-pages</param-name>
<param-value>/fore/index.do</param-value>
</init-param>
<init-param>
<param-name>front-login-page</param-name>
<param-value>/fore/index.do</param-value>
</init-param>
</filter>
<!--
<filter>
<filter-name>Acegi Filter
Chain Proxy</filter-name>
<filter-class>
org.acegisecurity.util.FilterToBeanProxy
</filter-class>
<init-param>
<param-name>targetClass</param-name>
<param-value>
org.acegisecurity.util.FilterChainProxy
</param-value>
</init-param>
</filter>
-->
<filter-mapping>
<filter-name>Set
Character Encoding</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>ConsoleLoginFilter</filter-name>
<url-pattern>/manage/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>FrontCheckLoginFilter</filter-name>
<url-pattern>/fore/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>FrontCheckLoginFilter</filter-name>
<url-pattern>*.do</url-pattern>
</filter-mapping>
<!--
<filter-mapping>
<filter-name>Acegi Filter
Chain Proxy</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
-->
<!--
- Loads the root application
context of this web app at startup.
- The application context is
then available via
-
WebApplicationContextUtils.getWebApplicationContext(servletContext).
-->
<listener>
<listener-class>
org.springframework.web.util.Log4jConfigListener
</listener-class>
</listener>
<listener>
<listener-class>
com.insightcn.point.util.SpringContextLoaderListener
</listener-class>
</listener>
<!--
The HttpSessionEventPublisher
will publish
HttpSessionCreatedEvent and
HttpSessionDestroyedEvent
to the
WebApplicationContext
<listener>
<listener-class>
org.acegisecurity.ui.session.HttpSessionEventPublisher
</listener-class>
</listener>
-->
<!-- log4j config bootstrap loader-->
<servlet>
<servlet-name>log4j</servlet-name>
<servlet-class>
org.springframework.web.util.Log4jConfigServlet
</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<!-- Spring context config bootstrap
loader-->
<!--
<servlet>
<servlet-name>springContext</servlet-name>
<servlet-class>
org.springframework.web.context.ContextLoaderServlet
</servlet-class>
<load-on-startup>2</load-on-startup>
</servlet>
-->
<!-- ============= The Struts ActionServlet
Configuration ============= -->
<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,/WEB-INF/struts-config-permission.xml,/WEB-INF/struts-config-jjq.xml,/WEB-INF/struts-config-wdj.xml,/WEB-INF/struts-config-hcc.xml,/WEB-INF/struts-config-zjf.xml,/WEB-INF/struts-config-hh.xml,/WEB-INF/struts-config-cyk.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>4</load-on-startup>
</servlet>
<servlet>
<servlet-name>ValidateCodeServlet</servlet-name>
<display-name>
This is the
display name of my J2EE component
</display-name>
<description>
This is the
description of my J2EE component
</description>
<servlet-class>
com.insightcn.point.util.ValidateCodeServlet
</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ValidateCodeServlet</servlet-name>
<url-pattern>/servlet/ValidateCodeServlet</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>DisplayPicture</servlet-name>
<servlet-class>
com.insightcn.point.util.DisplayPicture
</servlet-class>
<load-on-startup>3</load-on-startup>
</servlet>
<!--
- Provides core MVC application
controller. See contacts-servlet.xml.
-->
<!--
<servlet>
<servlet-name>contacts</servlet-name>
<servlet-class>
org.springframework.web.servlet.DispatcherServlet
</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
-->
<!-- ============= The Struts Action Servlet
Mapping ================== -->
<!--
-->
<!--
<servlet-mapping>
<servlet-name>contacts</servlet-name>
<url-pattern>*.htm</url-pattern>
</servlet-mapping>
-->
<!--
- Provides web services
endpoint. See remoting-servlet.xml.
-->
<!--
<servlet>
<servlet-name>remoting</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>remoting</servlet-name>
<url-pattern>/remoting/*</url-pattern>
</servlet-mapping>
-->
<servlet-mapping>
<servlet-name>DisplayPicture</servlet-name>
<url-pattern>/servlet/picture</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>/index.jsp</welcome-file>
<welcome-file>/index.html</welcome-file>
</welcome-file-list>
<taglib>
<taglib-uri>/spring</taglib-uri>
<taglib-location>/WEB-INF/spring.tld</taglib-location>
</taglib>
<!-- =============== The Struts Taglib
Definition ===================== -->
<taglib>
<taglib-uri>struts-bean</taglib-uri>
<taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>struts-html</taglib-uri>
<taglib-location>/WEB-INF/struts-html.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>struts-logic</taglib-uri>
<taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>struts-tiles</taglib-uri>
<taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
</taglib>
<!--
==================================================================
-->
<!-- ============= The Struts-Menu Taglib
Definition ================== -->
<taglib>
<taglib-uri>struts-menu</taglib-uri>
<taglib-location>/WEB-INF/struts-menu.tld</taglib-location>
</taglib>
<!-- ============= The Custome Taglib
Definition ================== -->
<taglib>
<taglib-uri>displaytag</taglib-uri>
<taglib-location>/WEB-INF/displaytag-11.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>displaywraptag</taglib-uri>
<taglib-location>/WEB-INF/displaytagpro-11.tld</taglib-location>
</taglib>
</web-app>
发表评论
-
java.lang.ClassCastException: java.lang.Integer
2010-01-09 12:55 1359java.lang.ClassCastException: j ... -
Error:org.springframework.web.context.ContextLoaderListener
2010-01-06 21:17 8665Error con ... -
Error configuring application listener of class org.springframework.web.context.
2010-01-06 21:11 20097急!!tomcat启动报错:Error configuring ... -
Cannot find bean org.apache.struts.taglib.html.BEAN
2009-12-29 14:29 1274Cannot find bean org.apache.str ... -
attempt to create delete event with null entity
2009-12-29 11:07 4652attempt to create delete event ... -
懒加载异常org.hibernate.LazyInitializationException: could not initialize proxy - no
2009-12-28 20:44 20177错误页面提示 could n ... -
getHibernateTemplate.load() 和get()之间的区别
2009-12-28 20:16 18491. getHibernateTemplate.load() ... -
getSession()与getHibernateTemplate()区别
2009-12-28 20:13 2540getSession()与getHibernateTempla ... -
使用Hibernate持久层 --- 2 出现的问题与解决方法总结
2009-12-28 15:04 1180使用Hibernate持久层 --- 2 出现的问题与解决方法 ... -
java.lang.NullPointerException DAO
2009-12-28 15:02 1816~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ... -
JSTL1.1中要用的jar--standard.jar jstl.jar
2009-12-09 00:35 4046gg -
Jsessionid
2009-12-07 16:22 1255(1) 这是一个 ... -
spring有三种启动方式,
2009-12-07 15:21 2431spring有三种启动方式,使用 ... -
ContextLoaderListener VS. ContextLoaderServlet
2009-12-07 15:20 3526一旦ContextLoaderServlet或Cont ... -
ERRORcheck whether you have multiple ContextLoader* definitions in your web.xml!
2009-12-07 15:17 6225ERROR:check whether you have mu ... -
从tomcat 迁移到 WebSphere 经验总结(修改)
2009-12-07 15:08 2412从tomcat 迁移到 WebSphere ... -
CGlib & asm
2009-12-07 15:01 2689缺少包出现的错误信息:cglib-2.1.3.jar CGL ... -
Unable to instantiate default tuplizer [org.hibernate.tuple.entity.PojoEntityTup
2009-12-07 14:57 5419Unable to instantiate default t ... -
asm.jar的冲突问题
2009-12-07 14:53 1458No configuration found. Confi ... -
异常:ERROR [org.hibernate.proxy.BasicLazyInitializer] - CGLIB Enhancement failed..
2009-12-07 14:25 1776用MyEclipse6.0写了一个spri ...
相关推荐
web.xml配置文件详解让开发人员更加清楚web.xml是怎么配置。以及各个配置的作用。
web.xml配置文件详解[文].pdf
web.xml配置详解web.xml配置详解web.xml配置详解web.xml配置详解web.xml配置详解web.xml配置详解web.xml配置详解
web.xml配置文件
Web.xml配置文件.pdf
关于web.xml配置文件记录.docx
全新的java web项目的配置文件,新建的纯净的web.xml文件,没做任何改动,下载就可以使用了。
在web.xml中引入其他xml配置文件的步骤,含引入错误解决。
SSM整合下的web.xml配置文件
spring在web.xml中和在struts中的不同配置..pdf
Web.xml配置文件[文].pdf
关于filter、servlet在web.xml配置及加载顺序
很实用的web.xml配置,里面包括过滤器,防止乱码,配置默认页,配置404或其它异常等错误页,开发项目时直接复制进去,完全搞定
spring-mvc.xml spring-mybatis.xml web.xml log4j.properties,项目中需要用到的配置文件。直接可用。
以前和struts2一起使用的配置文件,struts2的核心控制器
J2EE中关于web.xml文件的配置