- 5
- 0
- 约1.04万字
- 约 18页
- 2018-11-28 发布于江苏
- 举报
java培训个总结
java培训个人总结
第一篇:java培训后总结————上接crazy code (09.11 星期六)
crazycode (09.12星期天)
0、struts2:
a、hello stuts2:
b、struts.xml、hello.jsp。地址栏传参:。
c、传参验证:直接写在user.java里面(extends actionsupport)
public string show()
{ if (“admin”.equals(username) “admin”.equals(password)) { return success; } else {
return error;
} }
1、spring :hello spring3.0 ! (先打开至spring视图方式.)hello.java(javabean) javabean的id、class,且对hello.java中的变量赋值:hello spring3.0 !。
2、hibernate:(先打开至spring视图方式.)
1、连接数据库mysql jdbc:mysql://localhost:3306/helu而不是
jdbc:mysql://localhost:3306;helu;
2、hellotest.java右键myeclipse -add hibernate ca…..-….-….会自动导入hibe
原创力文档

文档评论(0)