Nevermind. I managed to find a working solution without creating
dymamic Result objects.
So in the interceptor code:
public String intercept(ActionInvocation invocation) throws Exception
{
ActionContext context = invocation.getInvocationContext();
Map session = context.getSessio
Yes I need. Because in the S2 configuration file I have to specify all
the parameters of the query string one by one.
In my app, I don't know the name and number of these parameters. So I
am building a Servlet Redirect Action Result in an interceptor like
this:
public String intercept(ActionInvoca
Are you sure you need to do it like this? You can use OGNL expressions in
your S2 configuration file to do things like set a URL to redirect to etc.
Dave
--- Filipe David Manana <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am trying to use an action that returns directly instances of the
> Result cla
Hi,
I am trying to use an action that returns directly instances of the
Result class, due to the nature of my application where the result is
dynamically decided by some logic.
My action class method is:
public Result doLogin() throws Exception
{
// etc...
if ( !validUser )
4 matches
Mail list logo