Monthly Archives: July 2011

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 »