Session management

2006-08-27 Thread Anil Kumar T
Hi All, Can some one help me in understanding the session management with struts? How to do this with struts? I tried doing it in all the actions, but am not sure what am doing wrong, it does not work. Can any body help me on this. Any links, sample codes etc would be of great help. Anil.

Re: [Struts 2] Templating available like Tiles

2006-08-27 Thread Mark Menard
On 8/25/06 1:40 PM, "Garner Shawn" <[EMAIL PROTECTED]> wrote: > Is there templating available like Tiles where I can define a template > JSP with a header,side menu, body, and footer and then just reuse it > accross pages? > > I see there are themes and templates in the documentation but it > usu

Re: Pass value from validation.xml to error message? Bob Harrison greenhorn Member # 122590 Pass value from validation.xml to error message? Bob Harrison greenhorn Member # 122590 Pass value from vali

2006-08-27 Thread James Sanders
Bob, Niall is completely right that you generally don't want to do this as it is a security hazard, however he is wrong that it cannot be done. You just need to use a custom ValidatorForm rather than relying solely on the validation config file. To do this, make the ActionForm that the ccnum prop

Re: [OT] migrate Struts app from jdk 1.4 to jdk1.5

2006-08-27 Thread James Sanders
I have been getting rid of these warnings without using @SuppressWarnings and in a way that I think makes the casts a bit more explicit. I don't know what you are doing in case (1), but in case (2), you can do this: TreeSet mySet = new TreeSet(); for(Object jobTemplate : request.getSession().ge

email valodation

2006-08-27 Thread Sonu S
hi all, i am using struts' validation. i want to validate fields for required, mask and email. required and mask validation works fine but email validation is not working.it gives error like validateEmail method not found.. i have given pls tell me how to