摘要: 1. PLSQL选用SYSDBA登录,用户sys,密码xxx2. 登录后,点tools菜单有sessions子菜单,3.点击sessions子菜单,可以看到连接用户 阅读全文
posted @ 2013-07-16 19:15 holycrap 阅读(1383) 评论(0) 推荐(0) 编辑
摘要: 1. 下载hibernate distribution 3.6.* final包2. 解压zip包3. 将lib目录下jpa和required目录下的jar包都拷贝到自己工程的WEB-INF目录下lib目录下4. 测试hibernate/** * */package com.test;import org.hibernate.Session;import org.hibernate.SessionFactory;import org.hibernate.Transaction;import org.hibernate.cfg.Configuration;/** * @author Admin. 阅读全文
posted @ 2013-07-12 20:53 holycrap 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 1. 下载Struts2包,网站http://struts.apache.org/download.cgi#struts23152. 将struts-2.3.15-all.zip包解压到本地3. 拷贝必要的jar包到工程的WEB-INF\lib目录下commons-io-2.0.1.jarjavassist-3.11.0.GA.jarognl-3.0.6.jarcommons-fileupload-1.3.jarfreemarker-2.3.19.jarxwork-core-2.3.15.jarstruts2-core-2.3.15.jarcommons-lang3-3.1.jar (不拷贝会 阅读全文
posted @ 2013-07-07 21:02 holycrap 阅读(2458) 评论(0) 推荐(0) 编辑
摘要: show session 获取session session ID: 停留时间: 秒 阅读全文
posted @ 2013-07-07 15:29 holycrap 阅读(423) 评论(0) 推荐(0) 编辑
摘要: show request 2秒后跳转到首页 阅读全文
posted @ 2013-07-07 14:46 holycrap 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 1. 表单request内容的获取2.request.setCharacterEncoding("utf-8")对request内容进行编码3. fullformrequest.jsp 提交表单 showrequest.jsp 显示request内容 full form request 全量的表单提交 ... 阅读全文
posted @ 2013-07-07 14:11 holycrap 阅读(531) 评论(0) 推荐(0) 编辑
摘要: 1. index.jsp来提交请求2. login.jsp来检查数据库数据3. 需要注意的是,下载下来的mysql.conection jar包需要放到WEB-INF下面的lib文件夹下 jsp project\WEB-INF\lib\mysql-connector-java-5.1.25-bin.jar 1 2 3 4 5 login page 6 7 8 9 10 11 12 登录页面13 14 ... 阅读全文
posted @ 2013-07-07 11:27 holycrap 阅读(1471) 评论(0) 推荐(0) 编辑
摘要: 1. 下载adt-bundle-windows-x86-xxx.ziphttp://developer.android.com/sdk/index.html2. 安装jrehttp://www.oracle.com/technetwork/java/javase/downloads/index.html设置JAVA_HOME环境变量设置path环境变量,在最后加上 %JAVA_HOME%/bin3. 解压上面的adt-bundle-windows-x86-xxx.zip运行eclipse即可4. 因为虚拟机启动很慢,所以有android手机的童鞋,安装USB驱动(手机品牌的USB驱动,比如三星 阅读全文
posted @ 2013-06-26 21:14 holycrap 阅读(171) 评论(0) 推荐(0) 编辑
摘要: service mysql start启动service mysql restart重启service mysql stop停止mysql -uroot -ppassword登入mysqlshow databases;展示数据库dbcreate database xxx;建dbshow tables;展示表create table xxx()charset=utf8;建表select * from xxx; 查表 阅读全文
posted @ 2013-06-25 20:59 holycrap 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 1 2 3 4 5 6 index page 7 8 9 10 11 JAVA SCRIPT12 13 14 15 16 19 20 21 22 23 24 name:25 26 27 28 29 30 31 32 gender:33 ... 阅读全文
posted @ 2013-06-24 22:37 holycrap 阅读(190) 评论(0) 推荐(0) 编辑