Yes, I do... But I am using ActionForward someplaces and I need this feature in those pages... :)

Thanks..

BTJ

On Fri, 2003-06-27 at 14:51, Franck Lefebure wrote:
Hi,
Something like <logic:present name="sessionObject"><jsp:forward
page="index.jsp"></logic:present>

But you should do also this check in actions

--
Franck Lefebure



> -----Message d'origine-----
> De : Bjørn T Johansen [mailto:[EMAIL PROTECTED] 
> Envoyé : jeudi 26 juin 2003 15:59
> À : Struts Users Mailing List
> Objet : Automatic redirect in jsp page?
> 
> 
> Is it possible to check for an session object in a jsp page 
> and if it doesn't exist, automatic redirect to an action?
> 
> 
> Regards,
> 
> BTJ
> 
> -- 
> --------------------------------------------------------------
> ---------------------------------
> Bjørn T Johansen (BSc,MNIF)
> Executive Manager
> [EMAIL PROTECTED]                  Havleik Consulting
> Phone : +47 67 54 15 17         Conradisvei 4
> Fax : +47 67 54 13 91           N-1338 Sandvika
> Cellular : +47 926 93 298       http://www.havleik.no
> --------------------------------------------------------------
> ---------------------------------
> "The stickers on the side of the box said "Supported 
> Platforms: Windows 98, Windows NT 4.0, Windows 2000 or 
> better", so clearly Linux was a supported platform."
> --------------------------------------------------------------
> ---------------------------------
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-- 
-----------------------------------------------------------------------------------------------
Bjørn T Johansen (BSc,MNIF)
Executive Manager
[EMAIL PROTECTED]                  Havleik Consulting
Phone : +47 67 54 15 17         Conradisvei 4
Fax : +47 67 54 13 91           N-1338 Sandvika
Cellular : +47 926 93 298       http://www.havleik.no
-----------------------------------------------------------------------------------------------
"The stickers on the side of the box said "Supported Platforms: Windows
98, Windows NT 4.0,
Windows 2000 or better", so clearly Linux was a supported platform."
-----------------------------------------------------------------------------------------------

Reply via email to