RE: How to set a variable in session in the JSP

2010-06-21 Thread Mano Dasanayaka
Hi Kushan, You can access the session object using a jsp scriplet and set your required variables there. <% request.getSession().setAttribute("your_variable",obj) %> >From the Action class , you can get access to session either by implementing the ServletRequestAware Interface within your acti

Struts2 CheckBox tag inside an s:iterator

2008-03-04 Thread Mano Dasanayaka
Hi All, I have a jsp where we list down some dynamic checkboxes. for this we use s:checkbox tag inside a s:iterator , in my action class I have a string[] named fullMarket and all the required getters and setters are provided there. Everything happens successfully, when we submit the

Need Help Creating a Custom Validator

2008-02-26 Thread Mano Dasanayaka
Hi all, Can any one suggest me a good article that describes adding a custom validator and how to configure. Sample code along with required configurations is also appreciated. Thanks In Advance. Mano - To unsubscribe, e-mai