Re: Dynamic Result Selection

2011-11-18 Thread Christian Grobmeier
Hello Rohan, On Sat, Nov 19, 2011 at 8:44 AM, rohan jamkhedkar wrote: > > %{nextPage} try to add these results too: %{nextPage} %{nextPage} Input is what is returned when some input is missing, error in case an error happens. Please also see the class ActionSupport, were these String constants

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, %{nextPage}   Where ne

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 code

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.

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 : > Is there any documentation on how