2008年3月17日

摘要: 阅读全文
posted @ 2008-03-17 21:34 Fei飞 阅读(3148) 评论(1) 推荐(0) 编辑
 
摘要: Exception in thread "main" org.hibernate.exception.SQLGrammarException: Could not execute JDBC batch update 原因与解决: 1.因为Hibernate Tools(或者Eclipse本身的Database Explorer)生成*.hbn.xml工具中包含有catalog="***"(*表... 阅读全文
posted @ 2008-03-17 17:17 Fei飞 阅读(4730) 评论(2) 推荐(0) 编辑
 

2008年3月15日

摘要: #include void main() { write:char a; printf("请输入一个小写字母:"); a=getchar(); if(a122){ printf("错误,您输入的不是小写字母!!!\n"); getchar();//(1) goto write; } else{ print... 阅读全文
posted @ 2008-03-15 02:38 Fei飞 阅读(157) 评论(1) 推荐(0) 编辑
 

2008年3月13日

摘要: 投票项目 : 或: 姚明 买努 科比 text中就显示了select所选的内容 阅读全文
posted @ 2008-03-13 22:03 Fei飞 阅读(12244) 评论(2) 推荐(1) 编辑
 

2008年3月11日

摘要: 现声明一个变量p:int p; 在 public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) 函数里加入一个if语句 if(p==1){ return mapping.findFo... 阅读全文
posted @ 2008-03-11 21:03 Fei飞 阅读(770) 评论(3) 推荐(0) 编辑
 

2008年3月10日

摘要: 路还好长啊 阅读全文
posted @ 2008-03-10 18:21 Fei飞 阅读(131) 评论(0) 推荐(0) 编辑
 

2008年2月18日

摘要: String转化为int int i = Integer.parseInt([String]); int i = Integer.valueOf([String]).intValue(); 另外: int i =Double.parseDouble([String]); int转化为String String s = String.valueOf(i); String s = Intege... 阅读全文
posted @ 2008-02-18 20:42 Fei飞 阅读(193) 评论(0) 推荐(0) 编辑
 

2008年2月17日

摘要: Statement 接口提供了三种执行 SQL 语句的方法:executeQuery、executeUpdate 和 execute。使用哪一个方法由 SQL 语句所产生的内容决定。 方法executeQuery 用于产生单个结果集的语句,例如 SELECT 语句。 被使用最多的执行 SQL 语句的方法是 executeQuery。这个方法被用... 阅读全文
posted @ 2008-02-17 21:25 Fei飞 阅读(1971) 评论(0) 推荐(0) 编辑
 
摘要: html标签大全 一、文字 1.标题文字 .......... #=1~6;h1为最大字,h6为最小字 2.字体变化 .......... 【1】字体大小 .......... #=1~7;数字愈大字也愈大 【2】指定字型 .......... 【3】文字颜色 .......... rr:表红色(red)色码 gg:表绿色(g... 阅读全文
posted @ 2008-02-17 20:21 Fei飞 阅读(12702) 评论(2) 推荐(2) 编辑
 

2008年2月16日

摘要: struts标签库 一.html标签 1.html元素的标签: a1. 链接中的name a2. 链接到站点外 a3. 同一个应用 如:包含请求参数: 包含单个请求变量: //要有范围 包含多个请求变量: url b.: //也可以包含单个或多个请求变量 2.基本表单标签:,,,, Cancel :Action中的取消事件: Fo... 阅读全文
posted @ 2008-02-16 11:20 Fei飞 阅读(1548) 评论(0) 推荐(0) 编辑