Skip to content

This is a testing respo to test struts2 mvc intregation with jsp web

License

Notifications You must be signed in to change notification settings

namila007/Struts2_Form

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Struts2_Form

This is a testing respo to test struts2 mvc intregation with jsp ,spring web development

How to Run and Deploy

1.Clone and Open the project using intelliJ

  • Install plugin Strut2 Struts2 Plugin

2. Add /lib folder for Library

  • rclick on folder and click on Add as Library..
  • Add tomcat server libraries under External Libraries

3.Setup Tomcat server

  • Open Run Configuration
  • Add Tomcat server and config (ps: Tomcat 9 need Java 1.8 or higher, else you will get an error) screenshot_3

4.Setup Artifact War:Exploded

  • Press CTRL+ALT+SHOFT+S to open project structure
  • Click Artifacts and add Web Application:Exploded
  • config it screenshot_4

5. Run Tomcat server and deploy the Artifact

screenshot_5

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


Automate Database with ANT

1.Create database

  • create a db called struts and transfer all privilage to new user struts1 with password abc123

2. Add libraries

  • add jdbc and mysql lib

3. Run ./databse/build.xml


Mybatis Generator with ANT

1. run build.xml on root folder

About

This is a testing respo to test struts2 mvc intregation with jsp web

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages