Home  >  Article  >  Database  >  mysql-struts2中数据库连接池采用Context配置的错误

mysql-struts2中数据库连接池采用Context配置的错误

WBOY
WBOYOriginal
2016-06-06 09:43:081046browse

mysql

action中的execute方法:

<code> public String execute() throws SQLException{        us=new user();        usDao=new userDao();        us=usDao.register();        return SUCCESS;    }</code>
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn