Hi all,

In my struts application I verify if a user is valid, and if so I store 
the user information in the Session object. 
I use an object called 'user'.

In the rest of my JSP's I check if this 'user' object is present, and if 
not I redirect the user to the login-screen.

I use this code:

<logic:notPresent name="user">
        <logic:redirect href="http://wonen.dev.mediatoolbox.nl"/>
</logic:notPresent>

As you can see, I hard-coded the redirection URL into the JSP. But I don't 
want hardcode this URL.
Are there any possibilities to maybe get this from a properties file?

Thanks,

Harm de Laat
Informatiefabriek
The Netherlands


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

Reply via email to