码迷,mamicode.com
首页 >  
搜索关键字:spring security hell    ( 50708个结果
【原创】spring4.x + hibernate4.x 配置详解
关于spring和hibernate的使用以及特征等等,在此不再啰嗦,相信大家也都知道,或者去搜索一下即可。本篇博文的内容主要是我最近整理的关于spring4.x 和 hibernate 4.x 相关配置和使用方式,当然spring3.x以及hibernate4.x也可以借鉴。首先是配置文件 web...
分类:编程语言   时间:2014-05-16 07:11:53    阅读次数:489
spring中classpath和classpath*的配置区别
spring中classpath和classpath*的配置区别在使用spring时,经常会看到类似 classpth:、classpath*: 这样的前缀,不管是加载spring xml配置文件还是其配置文件中加载资源文件都会看到这两种前缀配置,其实这两种前缀是有区别的,下面将举例详细解释。spr...
分类:编程语言   时间:2014-05-16 06:56:24    阅读次数:257
Spring配置RMI
一、概述 传统的创建RMI服务,会涉及如下几个步骤: 1、编写远程服务接口,该接口必须继承 java.rmi.Remote 接口,方法必须抛出 java.rmi.RemoteException 异常; 2、编写远程接口实现类,该实现类必须继承 java.rmi.server.UnicastRemot...
分类:编程语言   时间:2014-05-16 05:15:24    阅读次数:381
spring 笔记
spring作为一个轻量级框架,并没有什么划时代的革新,也没有新鲜的点子让你耳目一新。但一直以来它却与jave息息相关,他做了什么?让我们这么依赖与它?我想,知道spring的都知道ioc,aop,就是说注入和切面。简单来讲,降低耦合和控制事物。否则,你需要不断的new来new去、不断的传递那个co...
分类:编程语言   时间:2014-05-15 16:36:36    阅读次数:344
android sdk api结构解析
一、系统级:android.accounts android.app 1、OS 相关 android.os android.os.storage android.hardware(传感器) android.security android.drm(这个应该是为所有app服务的) 2、V...
分类:移动开发   时间:2014-05-15 16:14:52    阅读次数:282
Struts2+Hibernate+Spring框架实现增删改查
一、添加3个框架的JAR包,完成后写配置文件;1、web配置文件: 1 2 3 oa 4 5 index.html 6 index.htm 7 index.jsp 8 default.html 9 default.htm10 defaul...
分类:编程语言   时间:2014-05-15 16:08:58    阅读次数:2309
JAVA年度安全 第六周 防止CSRF
本系列的译文暂停很久了,今后每周一篇直至完成 原文地址: http://www.jtmelton.com/2012/02/07/year-of-security-for-java-week-6-csrf-prevention-in-java/ Whatis it and why should I care? 跨站点请求伪造(CSRF)是指受害者当被一个网站授权后,在其未知觉的情况下...
分类:编程语言   时间:2014-05-15 05:39:02    阅读次数:322
Unable to instantiate Action, xxxAction, defined for 'xxx' in namespace '/'xxxAction解决方案
出现这个问题的原因主要有两个 1、如果项目没有使用Spring,则struts.xml配置文件中,这个action的class属性的路径没有写完整,应该是包名.类名 2、如果项目使用了Spring,那就是applicationContext.xml里面没有为这个action定义bean。这样strus.xml中的对应action的class属性的值就是Spring配置文件中bean的id,比如...
分类:其他好文   时间:2014-05-15 05:24:51    阅读次数:229
Junit与spring TestContext框架整合
所需要的包: junit需要是4.5以上 org.springframework.test-XXX.RELEASE.jar package test; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; i...
分类:编程语言   时间:2014-05-15 04:21:45    阅读次数:357
Json数据转换
using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebContro...
分类:Web程序   时间:2014-05-14 13:33:33    阅读次数:510
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!