![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SSH
desperado86
这个作者很懒,什么都没留下…
展开
-
Struts2
form:http://m.oschina.net/blog/161601.配置web.xml文件添加struts2过滤器: struts2 org.apache.struts2.dispatcher.FilterDispatcher struts2 /* 2.任何一个POJO都可以作为Action类,只要提供public String exec转载 2012-12-11 17:25:39 · 269 阅读 · 0 评论 -
整合ssh——web.xml
contextConfigLocation classpath*:application*.xml org.springframework.web.context.ContextLoaderListener struts2 org.apache.struts2.dispatcher.ng.filter.S原创 2013-04-01 08:33:48 · 495 阅读 · 0 评论 -
log4j.properties
log4j.rootLogger=ERROR, stdout ,logfilelog4j.appender.stdout=org.apache.log4j.ConsoleAppenderlog4j.appender.stdout.layout=org.apache.log4j.PatternLayoutlog4j.appender.stdout.layout.Conversio原创 2013-04-01 08:36:07 · 427 阅读 · 0 评论 -
applicationContext.xml
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="ht原创 2013-04-01 08:27:16 · 476 阅读 · 0 评论 -
config.properties
该文件的配置有两种视图:1 source :# sql Server\u6570\u636e\u5730\u5740 url=jdbc\:mysql\://localhost\:3306/aa?userUnicod\=true&characterEncoding\=utf-8#\u6570\u636e\u5e93\u7528\u6237\u30原创 2013-04-01 08:40:47 · 1712 阅读 · 0 评论 -
Struts2工作原理及流程
转:http://www.blogjava.net/GavinMiao/archive/2011/08/29/357480.html一.工作原理一个请求在Struts2框架中的处理大概分为以下几个步骤 1 客户端初始化一个指向Servlet容器(例如Tomcat)的请求 2 这个请求经过一系列的过滤器(Filter)(这些过滤器中有一个叫做ActionContextCleanU转载 2012-12-13 17:45:48 · 383 阅读 · 0 评论 -
Struts2 -----struts.xml配置文件(RedirectAction方式)
Example: type="redirectAction"> dashboard namespace">/secure secure" extends="struts-default" namespace="/secure">原创 2012-12-11 23:17:48 · 543 阅读 · 0 评论 -
Struts之拦截器---interceptor
转自:http://struts2.group.iteye.com/group/wiki/1397-deep-into-struts2-interceptors downpour 写道拦截器是AOP中的概念,它本身是一段代码,可以通过定义“织入点”,来指定拦截器的代码在“织入点”的前后执行,从而起到拦截的作用。正如上面 Struts2的Reference中讲述的,Struts2的Int转载 2012-12-11 18:16:28 · 288 阅读 · 0 评论 -
Struts2中的校验框架
http://www.cnblogs.com/eggbucket/archive/2012/02/06/2339595.htmlStruts2提供的客户端校验尽管这种支持比较弱,但采用Struts2中的客户端校验时需要注意以下几点1..将的validate属性设置为TRUE2..不能将的theme属性设置为simple3..建议将的action和namespace属性分开写转载 2012-12-10 12:05:29 · 415 阅读 · 0 评论 -
org.hibernate.DuplicateMappingException: Duplicate class/entity mapping
org.hibernate.DuplicateMappingException: Duplicate class/entity mapping 很明显,单词"duplicate " 是复制;使加倍的意思。最后,原因才使我恍然大悟,src 中有同名的类,在lib 目录中也有编译的类 所以,才产生这样的冲突。原创 2013-09-06 21:06:17 · 1237 阅读 · 0 评论