Re: using xwork validator programatically?

2011-11-18 Thread Łukasz Lenart
You can try to obtain ActionValidatorManager instance (@Inject in to an action) and try to use one of its methods. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ 2011/11/16 Josep García jgar...@isigma.es: Is there any

Re: Right way for exception handling

2011-11-18 Thread Eric Lentz
Make sure that devMode is false. The behavior is a bit different if in devMode.

Servlet init() equivalent in Struts 1.3.8

2011-11-18 Thread Anjib Mulepati
Hi All, I am trying to put some database configuration code in the Struts application. This is the code for loading context parameter, configure database parameter and locate the service. Usually we put this code in init() method of servlet but I am confuse where I can put this piece of

Dynamic Result Selection

2011-11-18 Thread rohan jamkhedkar
Hi All,        I am very new to Struts 2, so I don't know whether this issue is discussed before and has a solution. I had dynamic Result selection in my project. Where result would be selected on the basis of execution logic in Action method.  For Example something like, action name=test

Re: Dynamic Result Selection

2011-11-18 Thread Christian Grobmeier
Hello Rohan, On Sat, Nov 19, 2011 at 8:44 AM, rohan jamkhedkar rgjamkhed...@yahoo.co.in wrote: result name=success%{nextPage}/result try to add these results too: result name=input%{nextPage}/result result name=error%{nextPage}/result Input is what is returned when some input is missing,