Hi Freddy,
I think this would definitely work. I am reluctant to put interceptor
because it does obfuscate the logic; in our case, the requirement is
basically to check for an ACL. We have custom tags that evaluate ACL and
render the body of the tag or skip it.  I wanted to keep this logic on
the page since I did not want some ACL resolution to be done by
interceptor and others within the pages. 

I think stripes 1.5 has better support for ACL in general, so I was
thinking of reevaluating our security in general once we move to 1.5

My question was more driven by curiosity why redirect does not happen
and there are no Exceptions at all. 

I do have an OK workaround, so I am not stuck.



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Freddy
D.
Sent: Monday, June 23, 2008 7:53 PM
To: [email protected]
Subject: Re: [Stripes-users]is it possible to redirect response while
rendering stripes template definition jsp?

Hi Leonard,

Why not just use an Interceptor? And if said condition happens,
return new RedirectResolution("http://www.google.com";);

Cheers,
Freddy




------------------------------------------------------------------------
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to