Code Monkey home page Code Monkey logo

struts2_form's Introduction

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

struts2_form's People

Contributors

namila007 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.