struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David LAFAY" <>
Subject Re: Prevent URL requested directly from browser
Date Tue, 16 Sep 2003 08:06:20 GMT
PUT the following code into the begin of all your JSP :
<logic:notPresent name="REMOTEUSER">
<logic:forward name="login"/>

Then don't forget to declare a global forward named "login" for redirect to
your login.jsp
and don't forget to put de the user login name into the Session on your


"veera maria" <> a écrit dans le message news:
> Hello,
> What is the best way to prevent user to request web application's
> actions from browser manually?
> E.g. user is using web application and taking it's current url
> to clipboard. Then user goes e.g. to Google for surfing for a while.
> After surfing (s)he pastes web applications url back to browser's
> address field.
> Best technique in Struts applicaton to prevent this?
> Vera
> _________________________________________________________________
> Tilaa nyt Hotmail postit kännykkääsi!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message