Struts MVC Framework is the most popular java MVC framework ever seen in the history of java web development. Here are some tutorials on Struts Topics that will help you to understand the depth of Java Struts MVC Framework with practical examples. You can also download the code or war file of the examples.
This tutorial will illustrate you the architecture or work flow of popular java MVC framework Struts.
Let us go through a small hello world example with struts in Eclipse and take practical overview of code level complexity of struts applications such as creating action class.
Login Form Example With Struts
In this tutorial, we will create a login application page with the help of struts mvc framework and will see how form data are handled by struts. Topic will also illustrate the creation of form bean by extending Action Form class provided in struts jar.
In this journey of tutorial we will pass through the build in support of form validation in java mvc framework struts. We will see how validate method in Action Form supports this facility and java code to put validation on a form.
DispatchAction is a special type of action class provided in struts release jars that helps us to implement related operations in a single action class. In this way, we do not have to implement one action class per operation. This is really a very good approach provided by Struts MVC Framework.
LookupDispatchAction works in similar way DispatchAction do but with secure manner and does to specify the name of the method to be executed in jsp. It defined it in properties file.
File upload is very common requirement of any web based application. In this example we will learn how to upload a file using Struts 1 mvc framework with practical example.
Getting bored bu creating lots of form bean in your struts web application. DynaActionForm on rescue!!! This tutorial will show you how DynaActionForm reduces efforts of creating multiple form beans with an example in struts.
Ajax is a very new technique in the world of web application. In this tutorial we will go through a example which will illustrate how to use Ajax on struts applications.