eclipse
bati
这个作者很懒,什么都没留下…
展开
-
CSRF Security Error解决办法
在myeclipse上部署项目,遇到如下问题: 错误描述: org.directwebremoting.dwrp.BaseDwrpHandler - A request has been denied as a potential CSRF attack.org.directwebremoting.dwrp.BaseCallHandler - Exception while process...原创 2011-10-28 10:03:04 · 219 阅读 · 0 评论 -
class 'org.springframework.orm.hibernate3.LocalSessionFactoryBean' not found解决方法
在做Spring+Struts+Hibernate时,在刚增加了Hibernate开发能力后,增加Spring开发能力时,applicationContext.xml产生错误:class 'org.springframework.orm.hibernate3.LocalSessionFactoryBean' not found,在百度和Google上搜索了半天,没有找到解决方法。无意见看到一个...原创 2011-12-16 09:38:58 · 156 阅读 · 0 评论 -
编程实现basic客户端认证
下面我们来示范一下如何使用basic认证。假设我们在basic.jsp中需要远程调用http://localhost:8080/ch104 /admin.jsp的内容。这时为了能够通过Spring Security的权限检测,我们需要在请求的头部加上basic所需的认证信息。 String username = "admin"; String password = "admin"; by...原创 2012-04-01 16:18:56 · 187 阅读 · 0 评论