getting value from struts.properties in action class

2009-03-24 Thread Windy Hung
getClass().getResourceAsStream("struts.properties"); And when is the best time to check if the directory exits? Do I do the checking in Interceptor instead of execute() in action class? Thanks Windy Hung

Re: Struts Iterator tag and OGNL

2009-03-15 Thread Windy Hung
Hi Wes,  The solution you provided works.  Thanks  Windy Hung From: Wes Wannemacher To: Struts Users Mailing List Sent: Sunday, March 15, 2009 8:11:34 AM Subject: Re: Struts Iterator tag and OGNL On Sunday 15 March 2009 10:35:48 Windy Hung wrote: > He

Struts Iterator tag and OGNL

2009-03-15 Thread Windy Hung
Hello, I want to check a property value with a class constant inside iterator tag. For example, I have a list data type object "products" and I use to loop through it., Inside the looping, I want to use

Struts 2 Validation Problem

2008-12-30 Thread Windy Hung
arning message is printed out 5 times on the same page. How do I clean up the validation message when I press "submit" button multiple times. Thanks Windy Hung