https://github.com/namila007/struts2_form
This is a testing respo to test struts2 mvc intregation with jsp web
https://github.com/namila007/struts2_form
ant apache-ant mysql sql struts2 struts2-form
Last synced: about 1 year ago
JSON representation
This is a testing respo to test struts2 mvc intregation with jsp web
- Host: GitHub
- URL: https://github.com/namila007/struts2_form
- Owner: namila007
- License: apache-2.0
- Created: 2017-11-19T20:43:21.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-30T23:04:35.000Z (over 8 years ago)
- Last Synced: 2025-01-15T05:42:02.523Z (about 1 year ago)
- Topics: ant, apache-ant, mysql, sql, struts2, struts2-form
- Language: Java
- Size: 8.24 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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 
### 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`)

### 4.Setup Artifact War:Exploded
* Press CTRL+ALT+SHOFT+S to open project structure
* Click Artifacts and add Web Application:Exploded
* config it

### 5. Run Tomcat server and deploy the Artifact

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