struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Christopher <tim.christop...@gmail.com>
Subject Re: Help with Struts-Logic Tag
Date Tue, 22 Feb 2005 12:53:55 GMT
Try using:

<logic:notPresent name="user" >
   <logic:redirect href="routes-login.rr" />
</logic:notPresent>

Where user = Konstants.SESSION_USER_KEY, or maybe even:

<logic:notPresent name="<% Konstants.SESSION_USER_KEY %>" >
    <logic:redirect href="routes-login.rr" />
</logic:notPresent>

Tim Christopher

On Tue, 22 Feb 2005 19:40:36 +0800, Richard Reyes
<richards.list@gmail.com> wrote:
> Hello Guys,
> 
> I have this tag ...
> 
> <logic:notPresent name="hello.world" ><logic:redirect
> href="routes-login.rr" /></logic:notPresent>
> 
> And I need to change hello.world to Konstants.HELLO_WORLD. Now this...
> 
> <logic:notPresent name="Konstants.SESSION_USER_KEY" ><logic:redirect
> href="routes-login.rr" /></logic:notPresent>
> 
> does not seem to work( of course ).
> 
> Please help. Thanks
> 
> Richard
> 
> ---------------------------------------------------------------------
> 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