摘要: 1、struts.xml属性 excludeMethods参数指定拦截器拒绝拦截的方法列表,多个用英文逗号隔开 includeMethods参数指定拦截器需要拦截的方法列表,多个用英文逗号隔开 2、方法拦截器代码 MethodFilterInterceptor抽象类重写了AbstractInterc 阅读全文
posted @ 2016-07-14 22:58 星空夜 阅读(502) 评论(0) 推荐(0) 编辑
摘要: 这是主页面 "> HTML5文件拖动上传 将文件拖拽到此处上传 ... 阅读全文
posted @ 2015-04-20 21:23 星空夜 阅读(855) 评论(0) 推荐(0) 编辑
摘要: declare @a int, @b int, @str varchar(1000)set @a=1while(@a<=9)begin set @b=1 set @str='' while(@b<=@a) begin ... 阅读全文
posted @ 2015-04-06 23:24 星空夜 阅读(621) 评论(0) 推荐(0) 编辑
摘要: import java.sql.*;/** * SQL Server数据库连接类 * @author Administrator * */public class Sqlsdc { static int a = 0; public Connection sqlsdc(String... 阅读全文
posted @ 2015-01-19 21:42 星空夜 阅读(715) 评论(0) 推荐(0) 编辑
摘要: import java.sql.*; /** * java 连接sqlserver数据库语句 * @author Administrator * */ public class Main { public static void main(St... 阅读全文
posted @ 2015-01-16 07:12 星空夜 阅读(524) 评论(0) 推荐(0) 编辑
摘要: public class DeleteBlank { public static void main(String[] args) { //定义一个带空格的字符串 String a = " 2 3 41 2 4 45"; ... 阅读全文
posted @ 2015-01-14 16:19 星空夜 阅读(1382) 评论(1) 推荐(0) 编辑
摘要: Java基础之字符串处理package Class.String;import java.util.Scanner;/** * 字符串测试 * @author Administrator * */public class StringTest { public static void main... 阅读全文
posted @ 2015-01-12 23:50 星空夜 阅读(377) 评论(1) 推荐(0) 编辑
摘要: 1 package Texts.News.copy; 2 /* 3 * 测试类,在这里运行 (添加学生成绩) 4 */ 5 public class Main { 6 7 public static void main(String[] args) { 8 9 IS... 阅读全文
posted @ 2015-01-10 19:37 星空夜 阅读(843) 评论(0) 推荐(0) 编辑
摘要: 这里以一个实现添加会员编号和积分简单的例子来讲解Java 简单的对象传递 1 package Class.Member; 2 3 public class Main { 4 5 public static void main(String[] args) { 6 ... 阅读全文
posted @ 2015-01-09 23:49 星空夜 阅读(384) 评论(0) 推荐(0) 编辑