This is a test project for integrating Spring+Struts+Mybatis framework for JavaWeb project.
-
add modules
Struts2,Spring,Web
and give thier relevant config files (for spring-spring-config.xml
,for struts-struts.xml
- go to run configuration and add
Tomcat server>Local
Download Tomcat
1. create a database called struts
and a user with username=struts1
& password=abc123
or just change the jdbc.properties
username and password to root
(so no need to create another user)
- i have added some comments so you will be able to understand what i did there
it was hard to find the resource for SSM framework, here's some reosurces found from chinese sites