上一页 1 2 3 4 5 6 7 8 ··· 15 下一页
摘要: ServletAction方式,必须要有Servlet容器作支持 package com.hanqi.action; import javax.servlet.ServletContext; import javax.servlet.http.HttpServletRequest; import j 阅读全文
posted @ 2016-11-21 18:55 削肾客 阅读(172) 评论(0) 推荐(0)
摘要: //ActionContext 方式 package com.hanqi.action; import java.util.Map; import com.opensymphony.xwork2.ActionContext; public class TestAction { //封装 //解耦 / 阅读全文
posted @ 2016-11-21 18:53 削肾客 阅读(185) 评论(0) 推荐(0)
摘要: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 //Oracle最优化分页查询语句: select from( select row_. , rownum rownum_ from( select from TEST0816.T_USER use 阅读全文
posted @ 2016-11-14 22:41 削肾客 阅读(111) 评论(0) 推荐(0)
摘要: request: 1、request.getParameter("key")接受的是来自客户登陆端的数据,接受的是post或get方式传送的value。 2、请求的默认字符集是ISO 8859 1,不支持中文,需要new String (request.getParameter(key).getby 阅读全文
posted @ 2016-11-14 22:35 削肾客 阅读(282) 评论(0) 推荐(0)
摘要: Struts 2是在WebWork2基础发展而来的。 注意:struts 2和struts 1在代码风格上几乎不一样。 Struts 2 相比Struts 1的优点: 1、在软件设计上Struts 2 没有像Struts 1那样跟Servlet API 和 struts API 有着紧密的耦合。 S 阅读全文
posted @ 2016-11-14 22:23 削肾客 阅读(247) 评论(0) 推荐(0)
摘要: package com.hanqi.test; import java.util.Date; import java.util.List; import org.hibernate.Query; import org.hibernate.Session; import org.hibernate.S 阅读全文
posted @ 2016-11-14 21:51 削肾客 阅读(439) 评论(0) 推荐(0)
摘要: hibernate.cfg.xml <!DOCTYPE hibernate configuration PUBLIC " //Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibern 阅读全文
posted @ 2016-11-14 21:46 削肾客 阅读(132) 评论(0) 推荐(0)
摘要: Hibernate是一个开放源代码的对象关系映射框架,它对JDBC进行了非常轻量级的对象封装,使得Java程序员可以随心所欲的使用对象编程思维来操纵数据库。 Hibernate可以应用在任何使用JDBC的场合,既可以在Java的客户端程序使用,也可以在Servlet/JSP的Web应用中使用,最具革 阅读全文
posted @ 2016-11-14 21:36 削肾客 阅读(151) 评论(0) 推荐(0)
摘要: <! 登录界面 <%@page import="java.net.URLDecoder"% <%@ page language="java" contentType="text/html; charset=UTF 8" pageEncoding="UTF 8"% <!DOCTYPE html PUB 阅读全文
posted @ 2016-10-30 21:08 削肾客 阅读(531) 评论(0) 推荐(0)
摘要: <% 登录界面 % <%@ page language="java" contentType="text/html; charset=UTF 8" pageEncoding="UTF 8"% <!DOCTYPE html PUBLIC " //W3C//DTD HTML 4.01 Transitio 阅读全文
posted @ 2016-10-28 21:12 削肾客 阅读(241) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 15 下一页