Code Monkey home page Code Monkey logo

struts2stepbystep's Introduction

#Todo

  • Delete todo
  • Rest Service
  • Internationalization
  • Spring Security (remove hardcoding of userName)
  • JSR Validation.The JSR 303 and JSR 349 defines specification for the Bean Validation API (version 1.0 and 1.1, respectively), and Hibernate Validator is the reference implementation.

First Struts 2 Application in 25 Easy Steps

Struts 2 Tutorial for Beginners

##Installing Eclipse and Java https://github.com/in28minutes/SpringIn28Minutes/blob/master/InstallationGuide-JavaEclipseAndMaven_v2.pdf

##Course Overview ###Steps 1 to 7 : Build a normal Web Application

  • Understand Basics of HTTP - HttpRequest - GET/POST, Request Parameters
  • Introduction to JSP, Servlets, JSTL, Scriptlets and EL.
  • Understand Basics of using Maven, Tomcat and Eclipse

###Steps 11 to XX : Use Struts 2 to Build Your First Web Application

  • struts-default, Interceptors, @Action, @Namespace
  • Forms - DataBinding, Validation
  • Annotation based approach
  • Bootstrap to style the page
  • Spring Security
  • Internationalization - Validation Messages
  • Exception Handling
  • Basic REST Services
  • Logout

##Our Approach

  • Instead of taking traditional approach, feature-by-feature, we will take a problem-solution step-by-step approach.
  • We will use 80-20 Rule. We discuss the 20% things used 80% of time in depth. We touch upon other things briefly equipping you with enough knowledge to find out more on your own.
  • We will be developing a demo application in the course, which could be reused in your projects, saving hours of your effort.
  • All the code is available on Github, step by step.
  • We will use Struts 2.3

##Expectations

  • For taking this course, you should already know Java.
  • We expect NO prior experience with web development using Java.
  • We expect NO prior experience with Struts or Spring Security.

##Step wise details

  • Step01.md : Up and running with a web app in Tomcat
  • Step02.md : First JSP
  • Step03.md : Adding a GET Parameter name
  • Step04.md : Adding another Get Parameter Password
  • Step05.md : Lets add a form
  • Step06.md : New Form and doPost
  • Step07.md : Adding Password, validation of userid/password ... ... ... ...

##Exercises

  • Functionality to mark a Todo as complete

##Future Things To Do

  • Unit Tests - WTF - why are they not here in the first set?

struts2stepbystep's People

Watchers

karim safraoui 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.