
Struts+srping+Hibernate develops youth association volunteer service management system
Database mysql(relational database)
Front-end technology JSP (css,js,ajax,el,java)
Project technology Struts+srping+Hibernate
Struts controller (responsible for receiving data + processing data + responding to results (redirect + forward))
Spring Factory Class
Hibernate Persistence Access Layer *. hbm.xml (Class-Table, Attribute-Field) 2 Comments
project package
1. Action controller
2. dao operation database-
3. Model Entity Class Model
4. Service logical business layer
5. util tool class
log4j.properties Log Files *.properties Configuration Files
Struts.xml configuration action
WebRoot root directory
fckedit online editor, images img image upload, updown upload and download,
admin common Front Desk JSP Page
WEB-INF (lib+jsp+*.xml)
applicationContext.xml central configuration file
web.xml project configuration file Some basic configuration parameters for the project
127.0.0.1:8080/zyfw/index.action Ordinary user zyz1 123456
http://127.0.0.1:8080/zyfw/admin/login.jsp administrators a a
Log in to userLogin to return to the user home page
Register userReg.action to return to the home page
admin logs in to loginService - login() and returns to the administrator homepage.
active management module
Find all huodongMana.jsp
Add js-huodongAdd.jsp huodongAdd.action--return huodongMana.jsp
Delete js huodongDel.action? id=? Back huodongMana.jsp
Modify toEditHuodong.action? id=? Back huodongMana.jsp
Comments0