struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: logic:redirect substitute
Date Sun, 06 Jan 2008 19:37:00 GMT
AFAIK there is no tag for this.

Can't you just use a scriptlet? It's only in one file.

d.

--- Marcin Pietraszek <m.pietraszek@gmail.com> wrote:

> Hi,
> 
> > http://struts.apache.org/2.0.11/docs/redirect-action-result.html
> > the struts2.x prescribed algorithm is to use a redirect-action
> > is there something specific in your webapp to prevent you from using
> > redirect-action?
> 
> Maybe this could be named  "specyfic".. I want to redirect to action X
> when application "starts". The first JSP I define with
> <welcome-file-list>
>    <welcome-file>jsp/index.jsp</welcome-file>
> </welcome-file-list>
> in web.xml.
> 
> In Struts 1 I can achive this behavior when in an above JSP page I
> include <logic:redirect.>
> with appropriate action name. How can I achive this with Struts2?
> 
> -- 
> greetings! kbl/Cinek/greengoo
> marcin.pietraszek.pl
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message