This guy has some useful info as well.

http://www.vitarara.org/cms/struts_2_cookbook/post_and_redirect

Ron

----- Original Message ----
From: Matt Raible <[EMAIL PROTECTED]>
To: users@appfuse.dev.java.net
Sent: Monday, October 29, 2007 3:39:46 PM
Subject: Re: [appfuse-user] simple redirect in Struts2 from index.jsp


You could use the same thing we use in index.jsp:

<c:redirect url="/mainMenu.html"/>

Matt

On 10/29/07, kla <[EMAIL PROTECTED]> wrote:
>
> I'm assuming there's an easy equivalent for Struts2 but I can't
 figure it
> out.  I need to immediately redirect the user to my 'list' action
 when they
> go to the index.jsp page.  Is there an equivalent for the html tag's
> redirect in Struts2?  I thought maybe <s:action> would do it but it
 doesn't
> seem to work.
>
> Thanks,
> Mike
> --
> View this message in context:
 
http://www.nabble.com/simple-redirect-in-Struts2-from-index.jsp-tf4715019s2369.html#a13478090
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Reply via email to