Struts1

The Struts framework is an open source project developed by Apache Software Foundation
This frame work is very easy and useful to develope/build web applications based on the Java Servlet
and JavaServer Pages technologies, This Frame work is designed based on the Model-View-Controller (MVC) design pattern.

Struts 2.x is completely different compare to Struts 1.x , lot of component and functional differences between Struts 1.x and Struts2.x. Struts 2.x have a lot advantages comapare to 1.x, But still lot of projects are running in Struts 1.x and they didn’t migrated to 2.x
Let us have some step by step examples in Struts 1.x

The below Example will explan basic Struts workflow and basic configurations.

 Examples on Actions in Struts

The below Example will explain how to invoke view without our Action class.

The below Example will explain how to implement multiple fuctions by using one Action class

 

 

 Validator Example in Struts

In below Example we can see how to integrate Validator framework  with Struts

 

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">