Hi there,
developing a web application and got a total mind block.
I'm using the frameworks hibernate, struts and spring.
And when you click on a link to a JSP-page, I want to redirect depending on the sessions value, which contains a User-object. Get a value from the object and depending on whether this value is null or not I want to redirect to different JSP-pages.
Does anyone know how to do this? In which layer should the controll be done?
The most annoying thing is that I've done a similar thing a couple years ago, but now I have no idea :/
Thankful for any help.
-- Paks
developing a web application and got a total mind block.
I'm using the frameworks hibernate, struts and spring.
And when you click on a link to a JSP-page, I want to redirect depending on the sessions value, which contains a User-object. Get a value from the object and depending on whether this value is null or not I want to redirect to different JSP-pages.
Does anyone know how to do this? In which layer should the controll be done?
The most annoying thing is that I've done a similar thing a couple years ago, but now I have no idea :/
Thankful for any help.
-- Paks
Comment