先看前台ajax部分: 1 $('#delMd').click( 2 function(){ 3 if($('#reqState').val() == '2'){ 4 $.Dialog.show("申请单...
分类:
编程语言 时间:
2014-08-15 19:12:59
阅读次数:
6693
1. 在本地新创建一个文件夹 ,做为项目工作空间;2. 用 Myeclipse 或 STS 进入该文件夹,该文件夹就成为项目的工作空间;3.就要进窗口-首选项,配置: 环境默认编码: 1>.常规下面内容类型.txt文本UTF-8更新 2>.常规–工作空间,文本文件编码 3>.常规–编辑器–文...
分类:
编程语言 时间:
2014-08-15 17:31:19
阅读次数:
266
cxf依赖于spring的ContextLoaderListener,而spring mvc 则依赖于DispatcherServlet。初始化DispatcherServlet的时候会依赖初始化一个spring 容器,此容器为spring全局容器WebApplicationContext的子容器,...
分类:
Web程序 时间:
2014-08-15 17:28:59
阅读次数:
212
text/html;charset=UTF-8 去掉
分类:
编程语言 时间:
2014-08-15 15:56:18
阅读次数:
186
Being a Good Boy in Spring Festival
Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 4649 Accepted Submission(s): 2774
Problem Descr...
分类:
其他好文 时间:
2014-08-15 12:56:18
阅读次数:
194
1. 在使用spring security的时候使用注解,@PreAuthorize("hasAnyRole('ROLE_Admin')")放在对方法的访问权限进行控制失效,其中配置如:@Configuration@EnableWebSecuritypublic class SecurityConf...
分类:
编程语言 时间:
2014-08-15 10:40:28
阅读次数:
395
Layout:
<com.example.android_test.MyDragLayer xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/rootView"
android:layout_width="fill_parent"
android:layout_heig...
分类:
移动开发 时间:
2014-08-15 08:18:17
阅读次数:
443
Spring 2.0的AOP ? 在Spring 2.0中最激动人心的增强之一是关于Spring AOP,它变得更加便于使用而且更加强大,主要是通过复杂而成熟的AspectJ语言的支持功能来实现,而同时保留纯的基于代理的Java运行时。Spring ...
分类:
编程语言 时间:
2014-08-15 01:35:37
阅读次数:
228
一、需求分析
使用Spring Batch对DB进行读写操作: 从一个表中读取数据, 然后批量的插入另外一张表中.
二、代码实现
1. 代码结构图:
2. applicationContext.xml
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns...
分类:
数据库 时间:
2014-08-15 01:32:46
阅读次数:
483