Archive for the "Java - Struts" category

 

Using Ajax with Struts v1.3

 
Overview Adding Ajax call in Struts v1.3 is not quite straight forward, so I would like to note down the key points here. I am adding Ajax function to the web app int this post. For client side, I am using jQuery $.post() to make the Ajax call. There is nothing special of [...]

Continue reading

 
 

Struts 1.3.1 Tutorial

 
Overview In this post I will try to note down what I’ve done to setup a web project with Struts 1.3.1. I will assume that a fundamental Java Web App is ready and will only add minimal Struts features to it. Other features (e.g. exception handling, validation etc.) will be added in later [...]

Continue reading

 
 

Uploading Multiple Files using Struts FormFile

 
Overview It is convenient to group same type of Form Inputs with an ArrayList (or other types of List). For checkbox this is easily done in Struts Framework, but how about "File" or other types of input? Reference Uploading Multiple Files using Struts FormFile Code Snippet I copy the code [...]

Continue reading