• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

need some suggestion

Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a login page that takes up the whole screen space. on successful login I show a html page with frames.

RHS frame is links.jsp. LHS is a blank page. Whenever you click a link on links.jsp the corresponding page displays in the LHS frame.

Now when in my action classes i check for user in session...if his session expires..I redirect him to Login page. But I see that it displays the Login page inside the LHS frame exposing all the links on RHS frame...which the user is not supposed to see. Here is my forward...

forward name="showloginpage"

My Log out works great . It closes the page with frames and shows the Login Page in the whole screen. the "_top" does the magic here.

<html:link target="_top" page="/entry/logout.do">Log out</html:link><br>

How to solve this problem when I am doing this in the action class?
machines help you to do more, but experience less. Experience this tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic