Hi,

Thanks for the reply. Just a bit of elaboration.

What I should do is have a simple login page. No problem. On successful
login I send them to a framed page. So far so good.

Question about this dynamic links. Could you elaborate on how to create them
using struts?

Alex


----------------------------------------------------------------------------
----------------------
Date: Thu, 16 Aug 2001 09:37:04 -0400
To: [EMAIL PROTECTED]
From: "Jon Crater" <[EMAIL PROTECTED]>
Subject: Re: A bit of design help please?
Message-ID: <[EMAIL PROTECTED]>

alex--

i think the best way to do this is not to have the frameset appear until
after a successful login.  obviously, you don't want the links to your
functional areas to appear until after the user has been authenticated.  so
throw up a non-framed page which contains your login form.  after
authenticating the user, forward to your frameset, where you can dynamically
build navigation links in the navigation frame based on permissions, etc,
and where you can prepopulate the content pane with a default page until the
user selects a link.  targeting the content pane from the link is simple
HTML (<a href="/SomeAction.do" target="content">link text</a>).  your
forward should then go to the content pane, where your output is displayed.

when the session dies or the user logs out, simply forward him/her to the
login page or some other non-framed page.

hope this helps...

Reply via email to