This is a testing respo to test struts2 mvc intregation with jsp ,spring web development
- rclick on folder and click on
Add as Library
.. - Add tomcat server libraries under External Libraries
- Open Run Configuration
- Add Tomcat server and config
(
ps: Tomcat 9 need Java 1.8 or higher, else you will get an error
)
- Press CTRL+ALT+SHOFT+S to open project structure
- Click Artifacts and add Web Application:Exploded
- config it
PS:i'm posting all because it was hard to find the all process to run this type of web application.so i attached the respo with .idea folder
- create a db called
struts
and transfer all privilage to new userstruts1
with passwordabc123
- add jdbc and mysql lib