workshop details

  • Bangalore

Struts 2 is a popular extensible web framework for creating enterprise-ready Java web applications. Struts2 supports POJO actions, automatic validation, internationalization and integration with other frameworks like hibernate and spring. It also provides Ajax Support.


At the end of this course, you will be able to

  • Create and deploy dynamic web application using Struts2 using maven
  • Use XWork Validation framework for validating forms
  • Use i18n in struts2 for locale specific web application
  • Use OGNL tags in JSP pages

    What you will learn:

  • Introduction to MVC Framework
  • Learn about Struts2 Framework
  • Features of Struts2
  • Core components
  • Learn about Interceptors, its lifecycle and interceptor stack
  • Use Maven to create struts2 application
  • Creating custom interceptors
  • ValueStack and OGNL
  • Creating struts application using struts configuration file and annotation
  • XWork Validation framework in struts2
  • Learn about RequestAware, SessionAware, ServletRequestAware for handling sessions
  • Internationalization using Struts2
  • Upload file using the inbuilt FileUploadInterceptor in struts
  • Using Struts2 tags
  • Struts2 with DOJO plugins for Ajax support
  • Exception Handling in struts2


  • Knowledge of java is a must
  • Knowledge of web programming (JSP/Servlet)required

    Course Designed for:

  • Programmers who want to enhance their skills in the next gen web framework
  • Java Developers


    Course Content

  • Introduction to Struts2 Framework
  • Difference between Struts1 and Struts2 framework
  • Environment Setup
  • Struts2 Architecture
  • Core Components of Struts2
  • Interceptors
  • ValueStack and OGNL
  • ActionContext
  • Struts2 Configuration file
  • Creating a Struts2 Application
  • Struts2 Action and POJOs
  • ModelDriven Interface
  • Using Struts2 tags and prepopulating forms
  • Form Validation in Struts2 using validate and validation framework
  • i18n in struts2
  • Struts2 convention plugin and zero configuration
  • Struts2 Annotation
  • Interceptors, lifecycle and interceptor stack
  • File Upload using struts2
  • Exception Handling using Struts
  • Learn about Aware interfaces
  • Struts2 with Ajax