Sep
23
An Excellent Article on Java Web Development with Apache Struts 1
Filed Under Computers & Tech, Software Development on September 23, 2007 | Leave a Comment
I was searching for a tutorial on setting up custom global exception handlers in Struts 1 when I came across this fantastic article. If you develop with Struts 1 or are thinking of starting development with Struts 1 you really should read this – Jakarta Struts: Seven Lessons from the Trenches
[tags]Java, Apache, Struts[/tags]
Aug
6
Simple Indexed Properties in Struts Forms – The Missing Documentation
Filed Under Computers & Tech, Software Development on August 6, 2006 | 25 Comments
Struts has support for indexed properties in its form beans. In fact, it has support for both simple and complex indexed properties. Ironically I have been able to find lots of documentation online to explain the more complex situation but none for the simpler one. I have been able to find documentation on using arrays of beans is form beans but not of arrays of simple literals like strings and integers. And I’ve done a lot of googling on the matter. Having the ability to have an array of strings in your form bean is a very handy feature. This is a very handy thing to be able to do and you’d be right to assume that it should be simple, and it is simple, it’s just not documented anywhere I could find (and I spend a lot of time looking). So, to help others who might be stuck with the same problem here is a worked example that should make it all clear.