Tag Archives: Struts 1

LookupDispatchAction Example

DispatchAction is perfect for using in scenarios where some common data is modified with different actions as we seen in the previous tutorial. But, there is only one problem with this approach of merging common actions in one DispatchAction i.e. …

Read more »

DynaActionForm Example With Struts

This tutorial will briefly describe the use of DynaActionForm in Struts 1 mvc framework with example. You can also download code or war file of the example from the provided links at the bottom. You may be thinking of one …

Read more »

File Upload Example with Struts

With is example we will learn how to upload a file to the server using struts 1 and perform some short of validation on the file too. File upload is always been a complex work in java web server development …

Read more »

Ajax with Struts Example

Ajax is a very popular and innovative technique of creating rich user interface for web applications. Some days ago, I was trying to get some new stuff on struts 1 with the new technologies and I think can it be …

Read more »

DispatchAction in struts example

As per previous tutorials, we need separate controller support classes or action class for every operations we perform in our struts enabled web application. So, it will be really hazy to maintain so much number of custom action classes. How …

Read more »

Simple Form Validation with Struts 1 Example

The most important thing in web development is to gather userís data using forms and processing that data for userís requirements. †But before processing data collected from the user form we must ensure that the data is correct according to …

Read more »

Login Form Example With Struts

This post will show you how a form process in struts 1 framework. We will create a login form and then using struts 1 we will verify the authentication of the user. This example will take following steps : First …

Read more »

Hello World with Struts 1 in Eclipse IDE

In the previous post we saw the architecture of Struts 1. Now this post will take you through the first illustrative program made up with the help of Struts 1 framework to display Hello World in browser in Eclipse IDE. …

Read more »

Architecture of Struts 1 MVC Framework

In this post we will see the architecture of Struts 1 or work flow of popular mvc framework that is Struts 1. As we know struts 1 is a mvc (Model-View-Controller) based framework which reduces the work of developers to …

Read more »