baqlawi / Struts2StepByStep

Learn Struts 2 Step By Step

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Struts Tutorial For Beginners

Struts Tutorial For Beginners in 25 Easy Steps

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?

Other Courses

Useful Links

About

Learn Struts 2 Step By Step

License:MIT License


Languages

Language:Java 100.0%