`
usherlight
  • 浏览: 31084 次
文章分类
社区版块
存档分类
最新评论
文章列表
今天发现spring全体升级到3.1了,官方网站说是100%与3.0兼容,当然这指的是spring framework,可能没有包括spring security. 根据我个人升级的经历来说,首先xml头上的xsd文件版本要更新一下,从3.0.xsd改为3.1.xsd 另外,遇到了一个问题就是spring security中不再支持filter="none"了 比如: <http use-expression="true" auto-config="true">     <intercept-url patter ...
在controller中使用AOP的问题主要在于如何让controller能够被检测到。 controller和其他spring bean的区别在于:controller是由mvc定义并在web.xml中的dispatcher中定义的。 解决方法: 1、正确定义controller,(比较通用的做法,没有特殊情况的话,大部分应用没有这个问题)     a. 将服务层的类都放在ApplicationCotext-*.xml中定义,在context listener中初始化(注意,任何controller都不应该在这里出现),要包括<aop:aspectj-autoproxy/>, 在 ...
打开outlook, 按ALT-F11,打开microsfot visual basid-vbaProject, 工具-preferences- 确保microsoft office Object library前面打了勾。 然后,插入-模块 Sub SaveToNwsFolder(MyMail As MailItem) Dim strID As String Dim objNS As Outlook.NameSpace Dim objMail As Outlook.MailItem Dim objAtt As Outlook.Attachment Dim c As Integer Dim ...
今天启动tomcat7的时候,突然发发现有错误信息: 16/11/2011 4:57:11 PM org.apache.catalina.session.StandardManager doLoad SEVERE: IOException while loading persisted sessions: java.io.EOFException 解决方法: 将work目录下的内容全部清空,然后重新启动tomcat,问题解决!
a. applicationContext-security.xml <form-login login-page="/login" default-target-url="/frames" login-processing-url="/securitycheck" always-use-default-target="true" /> <session-management invalid-session-url="/logintimeout" /> ...
在调用resize设置新的大小后,还要再调用resize来使得改变生效 $('#sidebar').panel('resize', {width: 100}); $('#sidebar').panel('resize');
Global site tag (gtag.js) - Google Analytics