摘要:
<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> 阅读全文
摘要:
==============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驱动 阅读全文