Struts 2 Training

Struts 2 Training

  • Course Overview

Struts 2, created through a joint effort of the WebWork and Struts communities, is an improved Struts framework for building Java EE web applications. This Struts 2 training class targets Java EE developers

  • Course Description

  • Learn the mechanics of the Struts 2 framework for building Java EE applications.
  • Incorporate best practices for building applications with Struts 2.
  • Work with Struts 2 actions.
  • Use interceptors to add workflow.
  • Build data-driven applications with Struts 2.
  • Use tags to create views.
  • Integrate Struts 2 with Spring and Hibernate/JPA.
  • Extend Struts 2 with plug-ins.

  • Prerequisites

  • Java programming
  • Servlets programming
  • JSP
  • Basic knowledge of XML is recommended but not essential

Training Mode :

  • Individual or Group (in 2-5) Training.
  • Week end training by talented working professional.
  • One-On-One training in our location.
  • Regular scheduled batch training in your location or our location.
  • Fast track training in your location or our location.
  • You can opt mode we are flexible and it is according to learner.

Key features

  • 24 hours of instructor-led training
  • 24 hours of high-quality eLearning content
  • 5 simulation exams (250 questions each)
  • 8 domain-specific test papers (10 questions each)
  • 30 CPEs offered
  • 98.6% pass rate

Struts 2 Training                                                                         Duration :- 3 Days

1.) Struts 2: the modern web application framework

1.1 Web applications: a quick study
Using the Web to build applications
1.2 Frameworks for web applications
What’s a framework? 1.3 The Struts 2 framework
A brief history

2.) Saying hello to Struts 2

2.1 Declarative architecture
Two kinds of configuration 2.2 A quick hello
Deploying the sample application 2.3 HelloWorld using annotations

3.) Working with Struts 2 actions

3.1 Introducing Struts 2 actions
What does an action do?
3.2 Packaging your actions
The Struts 2 Portfolio application
3.3 Implementing actions
The optional Action interface
3.4 Transferring data onto objects
Object-backed JavaBeans properties Last words on using domain objects for data transfer
3.5 File uploading: a case study
Getting built-in support via the struts-default package Portfolio example code

4.) Adding workflow with interceptors

4.1 Why intercept requests?
Cleaning up the MVC Developing interceptors
4.2 Interceptors in action
The guy in charge: ActionInvocation
4.3 Surveying the built-in Struts 2 interceptors
Utility interceptors Workflow interceptors
Built-in stacks
4.4 Declaring interceptors
Declaring individual interceptors and interceptor stacks
Mapping interceptors to actions
4.5 Building your own interceptor
Implementing the Interceptor interface

5.) Data transfer: OGNL and type conversion

5.1 Data transfer and type conversion:common tasks of the web application domain
5.2 OGNL and Struts 2
What OGNL does
5.3 Built-in type converters
Out-of-the-box conversions to properties with OGNL expressions5.4 Customizing type conversion
Implementing a type converter

Day 2

6.) Building a view: tags

6.1 Getting started
The ActionContext and OGNL
6.2 An overview of Struts tags
The Struts 2 tag API syntax
6.3 Data tags
The property tag
6.4 Control tags
The iterator tag
6.5 Miscellaneous tags
The include tag
6.6 Using JSTL and other native tags
6.7 A brief primer for the OGNL expression language
What is OGNL?

7.) UI component tags

7.1 Why we need UI component tags
More than just form elements
7.2 Tags, templates, and themes
7.3 UI Component tag reference
Common attributes

8.) Results in detail

8.1 Life after the action
Beyond the page: how to use custom results to build Ajax applications with Struts 2
8.2 Commonly used result types
The RequestDispatcher, a.k.a. dispatcher
8.3 JSP alternatives
VelocityResult, a.k.a. velocity
8.4 Global results

9.) Integrating with Spring and Hibernate/JPA

9.1 Why use Spring with Struts 2?
What can dependency injection do for me?
9.2 Adding Spring to Struts 2
Letting Spring manage the creation of actions, interceptors, and results
9.3 Why use the Java Persistence API with Struts 2?
Setting your project up for JPA with Hibernate

10.) Exploring the validation framework

10.1 Getting familiar with the validation framework
The validation framework architecture
10.2 Wiring your actions for validation
Declaring your validation metadata with ActionClassvalidations. xml
10.3 Writing a custom validator
A custom validator to check password strength
10.4 Validation framework advanced topics
Validating at the domain object level

Day 3

11.) Understanding internationalization

11.1 The Struts 2 framework and Java i18n
Retrieving localized text with ResourceBundle and Locale
11.2 A Struts 2 i18n demo
A quick demo of Struts 2 i18n
11.3 Struts 2 i18n: the details
Struts 2 default TextProvider ResourceBundle location algorithm
Retrieving message texts from your bundles
11.4 Overriding the framework’s default locale determination
Letting the user interactively set the locale

12.) Extending Struts 2 with plug-ins

12.1 Plug-in overview
How to find plug-ins
12.2 Common plug-ins
12.3 Internal component system
12.4 Writing a breadcrumb plug-in

13.) Best practices

13.1 Setting up your environment
Setting up your IDE
13.2 Unit-testing your actions
The advantage of IoC for testing
13.3 Maximizing reuse
Componentization with the component tag
13.4 Advanced UI tag usage
Overriding existing templates

14.) Migration from Struts Classic

14.1 Translating Struts Classic knowledge
14.2 Converting by piecemeal
Eating an elephant a piece at a time 

15.) Advanced topics

15.1 Advanced action usage
Alternative method invocation
15.2 Dynamic method invocation
Wildcard method selection
15.3 Using tokens to prevent duplicate form submits
Using the <s:token/> form tag
15.4 Displaying wait pages automatically
When users are impatient
15.5 A single action for CRUD operations
15.6 Tiles and Struts 2
Taking care of the website look and feel
Configuring the interplay

You can enroll for this classroom training online. Payments can be made using any of the following options and receipt of the same will be issued to the candidate automatically via email.

1. Online ,By deposit the mildain bank account

2. Pay by cash team training center location

Highly qualified and certified instructors with 20+ years of experience deliver more than 200+ classroom training.
Venue is finalized few weeks before the training and you will be informed via email. You can get in touch with our 24/7 support team for more details. Contact us Mob no:- 8447121833, Mail id:  [email protected] . If you are looking for an instant support, you can chat with us too.
We provide transportation or refreshments along with the training.
Contact us using the form on the right of any page on the mildain website, or select the Live Chat link. Our customer service representatives will be able to give you more details.

Find This Training in Other Cities:-

Kolkata,Bangalore,Mumbai,Hyderabad,Pune ,Delhi,Chennai,

Mildain Solutions/Corp Office Delhi(NCR)

HeadQuarter Office:
Plot No 17, C Block Market, Sec 36,
Noida (U.P.)-201301(India)
Bangalore office:
Mildain Solutions,
No 7 & 8,Krishna Reddy Layout,
Domlur(Bangalore) 560071(India)
Hyderabad office:
Mildain Solutions

Mumbai office:

Mildain Solutions
5th Floor, Block B, Godrej IT Park,
Pirojshanagar, LBS Marg, Vikhroli West,
Mumbai, Maharashtra
 (+91) 1204326873
(+91) 8447121833
Contact Us

Your Name (required)

Your Email (required)

Contact Number




Drop Us A Query

Your Name (required)

Your Email (required)

Contact Number





good session..!!
will be useful to improve my technical Knowledge..
The concepts of the Instructor was mind-blowing…Lots of Industry examples…Very well organized…
Ajay Nunna
Nice session…!! enjoyed learning new things
Really good training. It helped me to clear a lot of doubts which were present in my mind for a long time.
“ The course content is very good and satisfactory. The trainer is also good with his teaching abilities.”
Apply the knowledge in understanding the new 11b framework setup in our system.
Apply the skill in day to day operational maintenance of our IT infrastrututre.