资源简介

java ee基础入门实例

资源截图

代码片段和文件信息

package cn.itcast.chapter10.example;
import java.sql.Connection;                                                                                                                                             
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import org.apache.commons.dbutils.ResultSetHandler;
 public class baseDao {
  // 优化查询
  public static object query(String sql ResultSetHandler rsh 
              object... params) throws SQLException {
      Connection conn = null;
      PreparedStatement pstmt = null;
      ResultSet rs = null;
      try {
  // 获得连接
  conn = JDBCUtils.getConnection();
  // 预编译sql
  pstmt = conn.prepareStatement(sql);
  // 将参数设置进去
  for (int i = 0; params != null && i 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        529  2018-01-28 15:32  JSP实例\FirstJSP\.classpath

     文件        297  2018-01-28 15:32  JSP实例\FirstJSP\.mymetadata

     文件       1751  2018-01-28 15:32  JSP实例\FirstJSP\.project

     文件        500  2018-01-28 15:32  JSP实例\FirstJSP\.settings\.jsdtscope

     文件        395  2018-01-28 15:32  JSP实例\FirstJSP\.settings\org.eclipse.jdt.core.prefs

     文件        462  2018-01-28 15:32  JSP实例\FirstJSP\.settings\org.eclipse.wst.common.component

     文件        252  2018-01-28 15:32  JSP实例\FirstJSP\.settings\org.eclipse.wst.common.project.facet.core.xml

     文件         49  2018-01-28 15:32  JSP实例\FirstJSP\.settings\org.eclipse.wst.jsdt.ui.superType.container

     文件          6  2018-01-28 15:32  JSP实例\FirstJSP\.settings\org.eclipse.wst.jsdt.ui.superType.name

     文件        374  2017-10-25 10:43  JSP实例\FirstJSP\WebRoot\abc.jsp

     文件        557  2017-09-12 16:44  JSP实例\FirstJSP\WebRoot\cookie.jsp

     文件        902  2016-11-18 15:33  JSP实例\FirstJSP\WebRoot\first.jsp

     文件        834  2017-09-12 16:31  JSP实例\FirstJSP\WebRoot\index.jsp

     文件         39  2016-11-18 15:01  JSP实例\FirstJSP\WebRoot\meta-INF\MANIFEST.MF

     文件        811  2017-09-12 16:32  JSP实例\FirstJSP\WebRoot\param.jsp

     文件        381  2016-11-18 15:10  JSP实例\FirstJSP\WebRoot\WEB-INF\web.xml

     文件        529  2018-01-28 15:32  JSP实例\FirstServlet\.classpath

     文件        309  2018-01-28 15:32  JSP实例\FirstServlet\.mymetadata

     文件       1755  2018-01-28 15:32  JSP实例\FirstServlet\.project

     文件        500  2018-01-28 15:32  JSP实例\FirstServlet\.settings\.jsdtscope

     文件        395  2018-01-28 15:32  JSP实例\FirstServlet\.settings\org.eclipse.jdt.core.prefs

     文件        474  2018-01-28 15:32  JSP实例\FirstServlet\.settings\org.eclipse.wst.common.component

     文件        252  2018-01-28 15:32  JSP实例\FirstServlet\.settings\org.eclipse.wst.common.project.facet.core.xml

     文件         49  2018-01-28 15:32  JSP实例\FirstServlet\.settings\org.eclipse.wst.jsdt.ui.superType.container

     文件          6  2018-01-28 15:32  JSP实例\FirstServlet\.settings\org.eclipse.wst.jsdt.ui.superType.name

     文件       3007  2017-09-15 11:27  JSP实例\FirstServlet\src\HelloServlet.java

     文件       2690  2016-11-30 10:22  JSP实例\FirstServlet\src\Server01.java

     文件        834  2016-10-31 09:02  JSP实例\FirstServlet\WebRoot\index.jsp

     文件         39  2016-10-31 09:02  JSP实例\FirstServlet\WebRoot\meta-INF\MANIFEST.MF

     文件       2365  2018-01-28 15:32  JSP实例\FirstServlet\WebRoot\WEB-INF\classes\HelloServlet.class

............此处省略599个文件信息

评论

共有 条评论