上一页 1 2 3 4 5 6 7 ··· 9 下一页
摘要: Ssh为 struts+spring+hibernate的一个集成框架,是目前较流行的一种Web应用程序开源框架。 集成SSH框架的系统从职责上分为四层:表示层、业务逻辑层、数据持久层和域模块层,以帮助开发人员在短期内搭建结构清晰、可复用性好、维护方便的Web应用程序。其中使用Struts作为系统的 阅读全文
posted @ 2016-08-30 09:02 周帝 阅读(737) 评论(0) 推荐(0) 编辑
摘要: 一、配置采集用户 1、添加和修改文件的功能 :account . json 2、存储目录:D:/mail/account/ 重点知识:创建json文件,Jason文件保存字符串格式 举例: // json文件写入字符串 String json = "{\"account\":{\"username\ 阅读全文
posted @ 2016-08-23 12:57 周帝 阅读(406) 评论(1) 推荐(0) 编辑
摘要: 1 2 3 5 6 7 8 9 学生信息 10 11 12 学生信息列表 13 14 "); 40 41 } 42 rs.close(); 43 } 44 45 // 4. 释放资源 46 st.close(); 47 conn.close(); 48 } 49 catch (Exception e) 50 51 { 52... 阅读全文
posted @ 2016-07-05 09:33 周帝 阅读(556) 评论(0) 推荐(0) 编辑
摘要: package com.hanqi.www; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.ht... 阅读全文
posted @ 2016-07-01 15:28 周帝 阅读(6751) 评论(1) 推荐(0) 编辑
摘要: 1 3 4 5 6 7 Insert title here 8 9 10 25 主页面 26 27 退出登录 28 29 1 3 4 5 6 7 Insert title here 8 9 10 登录页面 11 12 16 17 18 用户名: 19 密码: 20 21 22 23 Inse... 阅读全文
posted @ 2016-06-29 11:00 周帝 阅读(5748) 评论(0) 推荐(0) 编辑
摘要: 1 3 4 5 6 7 Insert title here 8 9 10 11 12 13 14 15 16 1 3 4 5 6 7 Insert title here 8 9 10 16 添加了session 17 登录成功 18 19 Insert title here ... 阅读全文
posted @ 2016-06-28 09:55 周帝 阅读(367) 评论(0) 推荐(0) 编辑
摘要: package com.hanqi.test; import java.sql.*; public class jdbcTest { public static void main(String[] args) { // 测试JDBC Connection conn = null; try { // 1... 阅读全文
posted @ 2016-06-20 15:32 周帝 阅读(363) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-06-20 15:29 周帝 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 1 package com.hanqi.test; 2 3 import java.sql.*; 4 5 public class jdbcTest { 6 7 public static void main(String[] args) { 8 9 // 测试JDBC 10 11 Connection conn = null;... 阅读全文
posted @ 2016-06-20 10:12 周帝 阅读(340) 评论(0) 推荐(0) 编辑
摘要: insert into score t values('111','3-105',88)--插入一行数据 insert into score(sno,cno) values('111','3-105')--指定插入某一行的哪一列数据 insert into score_1 select * from score --把表score中的全部数据复制到score_1表中,前提条件表的数据结构要一致 ... 阅读全文
posted @ 2016-06-20 10:00 周帝 阅读(275) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 9 下一页