![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java编程
文章平均质量分 73
wolf0412333
半瓶水
展开
-
log4j.properties
log4j.rootCategory=DEBUG, stdout,Rlog4j.appender.stdout=org.apache.log4j.ConsoleAppenderlog4j.appender.stdout.layout=org.apache.log4j.PatternLayoutlog4j.appender.stdout.layout.ConversionPattern=%5p (%转载 2008-04-10 15:10:00 · 342 阅读 · 0 评论 -
SessionSet.java
package com.wolf.pub;import javax.servlet.http.HttpServletRequest;/** * Created by IntelliJ IDEA. * User: Administrator * Date: 2008-2-17 * Time: 11:40:42 * To change this template use File | Sett原创 2008-04-10 15:20:00 · 437 阅读 · 0 评论 -
Page.java
package com.wolf.pub;import java.sql.PreparedStatement;import java.sql.ResultSet;import java.sql.SQLException;/** * * @author wolf *///页 分页:public class Page extends BaseDao{ private BaseDao dao=n转载 2008-04-10 15:14:00 · 418 阅读 · 0 评论 -
EncodingFilter.java
package com.wolf.pub;import javax.servlet.*;import javax.servlet.http.HttpServletRequest;import java.io.IOException;/**================= */ public class EncodingFilter implements Filter转载 2008-04-10 15:23:00 · 1481 阅读 · 1 评论 -
c3po.properties
# DriverClass 驱å¨ç¨åºç±»c3p0.DriverClass=org.gjt.mm.mysql.Driver#c3p0.DriverClass=dm.jdbc.driver.DmDriver# JdbcUrl è¿æ¥urlc3p0.JdbcUrl=jdbc:mysql://localhost/wolf#c3p0.JdbcUrl=jdbc:dm://192.1转载 2008-04-10 15:09:00 · 706 阅读 · 0 评论 -
CommonTools.java
package com.wolf.pub;/** * Created by IntelliJ IDEA. * User: Administrator * Date: 2007-11-29 * Time: 22:40:06 * To change this template use File | Settings | File Templates. */import javax.servle原创 2008-04-10 15:36:00 · 790 阅读 · 0 评论 -
BaseDao.java
package com.wolf.pub;import java.sql.Connection;import java.sql.PreparedStatement;import java.sql.SQLException;/** * * @author zhengbin */public abstract class BaseDao { protected Connection c转载 2008-04-10 15:17:00 · 675 阅读 · 0 评论 -
java数据库连接代码
连接数据库大全 一、Oracle8/8i/9i数据库(用thin模式) testoracle.jsp如下: Class.forName("oracle.jdbc.driver.OracleDriver").newInstance(); String url="jdbc:oracle:thin:@localhost:1521:orcl"; //orcl为你的数转载 2008-04-10 15:03:00 · 842 阅读 · 0 评论 -
ReportFilter.java
package com.wolf.pub;/** * Created by IntelliJ IDEA. * User: user * Date: 2008-4-10 * Time: 9:07:30 * To change this template use File | Settings | File Templates. */import javax.servlet.*;import ja转载 2008-04-10 15:27:00 · 371 阅读 · 0 评论 -
url转码
java.net.URLEncoder.encode(content, "utf-8");原创 2008-11-05 10:14:00 · 367 阅读 · 0 评论