摘要:
3 4 5 在第4行的时候报了java.lang.NullPointerException异常 如果是下面这样 结果 2 3 4 5 本文出自 “阿凡达” 博客,请务必保留此出处http://shamrock.blog.51cto.com/2079212/1182155 阅读全文
posted @ 2014-08-10 10:08
商商-77
阅读(143)
评论(0)
推荐(0)
摘要:
public static int count(String txyl_table) {// 获取用户数量 int i = 0;// Store_Information Connection con = DB.getConnnection(); try { Statement stmt = con.createStatement(); ... 阅读全文
posted @ 2014-08-10 10:07
商商-77
阅读(1271)
评论(0)
推荐(0)
摘要:
1.url向action传值 url为 action中取值为 2.JSP 3..java 阅读全文
posted @ 2014-08-10 10:07
商商-77
阅读(114)
评论(0)
推荐(0)
摘要:
struts.xml配置文件 动态方法调用 第一种方法 struts2.xml SimpleAction.java 执行完毕后跳转到add_success.jsp 第二种方法 http://localhost:8080/structstest/simple!add.action 执行完毕后跳转到ad 阅读全文
posted @ 2014-08-10 10:07
商商-77
阅读(113)
评论(0)
推荐(0)
摘要:
struts.xml 放在src目录下 web.xml中添加配置 lib目录下添加jar包 asm-x.x.jar asm-commons-x.x.jar asm-tree-x.x.jar commons-io-X.X.X.jar commons-lang3-X.X.X.jar commons-fi 阅读全文
posted @ 2014-08-10 10:07
商商-77
阅读(127)
评论(0)
推荐(0)
摘要:
用户注册 用户注册 用户名: 输入登录密码: 再次输入密码: 密码查询问题: 密码查询答案: ... 阅读全文
posted @ 2014-08-10 10:07
商商-77
阅读(297)
评论(0)
推荐(0)
摘要:
本文出自 “阿凡达” 博客,请务必保留此出处http://shamrock.blog.51cto.com/2079212/878528 阅读全文
posted @ 2014-08-10 10:07
商商-77
阅读(196)
评论(0)
推荐(0)
摘要:
本文出自 “阿凡达” 博客,请务必保留此出处http://shamrock.blog.51cto.com/2079212/878524 阅读全文
posted @ 2014-08-10 10:07
商商-77
阅读(1572)
评论(0)
推荐(0)
摘要:
下载jacob.rar,解压出jacob.dll和jacob.jar 然后: 1) 把jacob.dll在 C:\Program Files\Java\jdk1.5.0_08\bin、C:\Program Files\Java\jdk1.5.0_08\jre\bin、C:\WINDOWS\syste 阅读全文
posted @ 2014-08-10 10:07
商商-77
阅读(359)
评论(0)
推荐(0)
摘要:
import java.io.File; import java.io.IOException; import jxl.Cell; import jxl.Sheet; import jxl.Workbook; import jxl.read.biff.BiffException; import jxl.write.Label; import jxl.write.W... 阅读全文
posted @ 2014-08-10 10:07
商商-77
阅读(437)
评论(0)
推荐(0)

浙公网安备 33010602011771号