摘要: <servlet> <init-param> <param-name> config </param-name><param-value> /WEB-INF/struts-config.xml,/WEB-INF/struts-config-users.xml,/WEB-INF/struts-config-admin.xml </param-value> </init-param> </servlet> 阅读全文
posted @ 2012-02-04 19:26 greencolor 阅读(120) 评论(0) 推荐(0) 编辑
摘要: ==============SETUP mysql db==============JavaBeanpackage com.myapp.struts;/**** @author webice*/import java.sql.*; //导入数据库操作的类public class DBConnMySql //构造方法,初始化{ private Connection conn; //连接对象 private Statement stmt; //语句对象 private ResultSet rs; //结果集对象 private String MySqldriver;//MYSQL Server驱动 阅读全文
posted @ 2012-02-04 00:04 greencolor 阅读(473) 评论(0) 推荐(0) 编辑