52ky 发表于 2022-9-29 11:08:38

Struts2的增删改查

奇妙的使用了Struts2的规范标签库,实现了对数据库的增修改查,用数据库连接池来连接SQLserver2005!
Struts2.0CRUD\src\com\CRUD\action\AddAction.java
Struts2.0CRUD\src\com\CRUD\bean\LoginBean.java
Struts2.0CRUD\src\com\CRUD\bean\user.java
Struts2.0CRUD\src\com\CRUD\dao\userModel.java
Struts2.0CRUD\src\com\CRUD\dbconn\DBConn.java
Struts2.0CRUD\src\struts.xml
Struts2.0CRUD\WebRoot\META-INF\MANIFEST.MF
Struts2.0CRUD\WebRoot\WEB-INF\classes\com\CRUD\action\AddAction.class
Struts2.0CRUD\WebRoot\WEB-INF\classes\com\CRUD\bean\LoginBean.class
Struts2.0CRUD\WebRoot\WEB-INF\classes\com\CRUD\bean\user.class
Struts2.0CRUD\WebRoot\WEB-INF\classes\com\CRUD\dao\userModel.class
Struts2.0CRUD\WebRoot\WEB-INF\classes\com\CRUD\dbconn\DBConn.class
Struts2.0CRUD\WebRoot\WEB-INF\classes\struts.xml
Struts2.0CRUD\WebRoot\WEB-INF\web.xml
Struts2.0CRUD\WebRoot\AddUser.jsp
Struts2.0CRUD\WebRoot\index.jsp
Struts2.0CRUD\WebRoot\modify.jsp
Struts2.0CRUD\WebRoot\success.jsp
Struts2.0CRUD\WebRoot\welcome.jsp
Struts2.0CRUD\.classpath
Struts2.0CRUD\.mymetadata
Struts2.0CRUD\.project
.....太多文件了略.....

(Wonderfully used the standard tag library of Struts2, realized the addition and modification of the database, and used the database connection pool to connect to SQLserver2005!
Struts2.0CRUD\src\com\CRUD\action\AddAction.java
Struts2.0CRUD\src\com\CRUD\bean\LoginBean.java
Struts2.0CRUD\src\com\CRUD\bean\user.java
Struts2.0CRUD\src\com\CRUD\dao\userModel.java
Struts2.0CRUD\src\com\CRUD\dbconn\DBConn.java
Struts2.0CRUD\src\struts.xml
Struts2.0CRUD\WebRoot\META-INF\MANIFEST.MF
Struts2.0CRUD\WebRoot\WEB-INF\classes\com\CRUD\action\AddAction.class
Struts2.0CRUD\WebRoot\WEB-INF\classes\com\CRUD\bean\LoginBean.class
Struts2.0CRUD\WebRoot\WEB-INF\classes\com\CRUD\bean\user.class
Struts2.0CRUD\WebRoot\WEB-INF\classes\com\CRUD\dao\userModel.class
Struts2.0CRUD\WebRoot\WEB-INF\classes\com\CRUD\dbconn\DBConn.class
Struts2.0CRUD\WebRoot\WEB-INF\classes\struts.xml
Struts2.0CRUD\WebRoot\WEB-INF\web.xml
Struts2.0CRUD\WebRoot\AddUser.jsp
Struts2.0CRUD\WebRoot\index.jsp
Struts2.0CRUD\WebRoot\modify.jsp
Struts2.0CRUD\WebRoot\success.jsp
Struts2.0CRUD\WebRoot\welcome.jsp
Struts2.0CRUD\.classpath
Struts2.0CRUD\.mymetadata
Struts2.0CRUD\.project
.....too many files .....)




页: [1]
查看完整版本: Struts2的增删改查