Struts Basics in easy ways

Struts Basics in easy ways

An Introduction to Struts 1.3 Frameworks

History of Struts Frameworks

Different views on Struts Frameworks

Advantages of Struts Frameworks

Disadvantages of Struts Frameworks

Why we need Struts Frameworks

Where we use Struts Frameworks

The Model-View-Controller (MVC) Design Pattern

Types Model-View-Controller ('MVC') Design Pattern

Struts and Model-View-Controller (MVC) Design Pattern

The Model:- System State & Business Logic JavaBeans

The View: -JSP Pages & Presentation Components

The Controller: ActionServlet and ActionMapping

Getting Started a Struts Frameworks application

Pre-requirement for struts applications

Downloading and configuring Struts

Welcome Program using Struts

What is directory structure of struts framework application?

Set up a J2EE Web Application Project That Uses Struts Frameworks

Setting up Struts applications

Adding Struts to an existing Web application

Accessing Struts Frameworks documentation

Write A First Input View (JSP Page)

Write A Login ActionForm

Write A Login Action class

Write A Login Forward

Create web.xml and struts-config.xml

Configure struts-config.xml into web.xml

Configure the Action, ActionForm and Forward in the Struts Configuration File

Run and Test A First Struts Application

Debug struts application and debug struts-config.xml with the Struts Console

Completed Struts Program (With View, Action, ActionForm , web.xml and struts-config.xml)

Cancel Button in Struts Web based Application

Set up the Database Pooling with Struts

Exception Handling with Struts

Display (on JSP) an Object (From the Model) with Struts Tags

Using Logic Tags to Iterate over data and View on JSP Page

Overview of Model Components in Struts Frameworks

JavaBeans and Scope :- Model Components in Struts Frameworks

ActionForm Beans:- Model Components in Struts Frameworks

Business Logic Beans:- Model Components in Struts Frameworks

Accessing Relational Databases:- Model Components in Struts Frameworks

Overview of View Components in Struts Framework

Forms and FormBean Interactions

Building Forms With Struts

Input Field Types Supported

Automatic Form Validation


ActionErrors and ActionError

Overview of Controller Components in Struts Framework

Action Classes as Controller Components in Struts Framework

The ActionMapping Implementation in Struts Framework

The Action Mappings Configuration File in Struts Framework

The Web Application Deployment Descriptor in Struts Framework

Configure the Action Servlet Instance

Configure the Action Servlet Mapping

< logic:present > and < logic:notPresent > Logic Tag Example

Configure and use the Struts Tag Library

ActionForm Overviews

What is an ActionForm?

Configure ActionForm into struts-config.xml

Working with ActionForms and DynaActionForms

Defining and configure an ActionForm

Understanding the Life Cycle of an ActionForm

What an ActionForm is Not ?

Reducing the Number of ActionForms

Defining and configure an DynaActionForm

Session vs. Request Scope ActionForm

Action overviews for struts applications

< logic:greaterEqual > and < logic:greaterThan > Logic Tag Example


Configure ForwardAction into struts-config.xml


Configure IncludeAction into struts-config.xml


Configure DispatchAction into struts-config.xml



Configure SwitchAction into struts-config.xml

Action Methods into struts

Action saveToken and isTokenValid into struts

Action isCancelled into struts

Action getLocale and setLocale into struts

Action saveMessages and getResources into struts

Populating ActionForms with Domain Objects into struts

Uploading Files with Actions in struts

< logic:equal > and < logic:notEqual > Logic Tag Example

Introductions of the Validator Framework

Getting Started with the Validator Framework

Configure struts-config.xml, validator-rules.xml and validation.xml in struts

Example of Validator Framework

Common Validator Rules in Validator Framework

Mask Rule Rules in Validator Framework

Constants Rules in Validator Framework

Working with Dates in Validator Framework

Working with E-Mail and Credit Cards in Validator Framework

Using More than One Constant to Create Regular Expressions

Working with Dynamic Properties

Specifying Hard-Coded Arguments in Validator Framework

i18n for Validation in Validator Framework

Extending Validate and Custom Validation in the validate()

Writing Your Own Rules in Validator Framework

Defining Rule Variables in Validator Framework

Working with DynaActionForms in Validator Framework

Working with Client-Side JavaScript in Validator Framework

Canceling the JavaScript Validation in Validator Framework

Using a Workflow Form in Validator Framework

Working with Struts Custom Tags

JSP vs. Struts

Declarative Exception Handling and Exception Handling in Struts Framework

Struts Tags Libraries, Types of Struts Tag Libraries, How you can use on JSP ? and basic required configurations.

< html:html /> html tag

< html:form /> html tag

< html:button /> html tag

< html:cancel /> html tag

< html:checkbox /> html tag

< html:errors /> html tag

< html:file /> html tag

< html:hidden /> html tag

< html:image /> html tag

< html:img /> html tag

< html:javascript /> html tag

< html:link /> html tag

< html:messages /> html tag

< html:multibox /> html tag

< html:select /> html tag

< html:option /> html tag

< html:options /> html tag

< html:optionsCollection /> html tag

< html:password /> html tag

< html:radio /> html tag

< html:reset /> html tag

< html:rewrite /> html tag

< html:submit /> html tag

< html:text /> html tag

< html:textarea /> html tag

< html:xhtml /> html tag

< html:base /> html tag

< html:frame /> html tag

< html:param /> html tag

Struts2.0 Frameworks

Struts Basics in easy ways