You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by David Bolsover <da...@bolsover.com> on 2002/01/06 02:10:14 UTC

Page reload problem

Hi all

I have a problem reloading a page in a frameset

Here is the issue:

I am using JDBCRealm Form based authentication
Frame1 contains a number of struts-menus within <logic:present role=admin>
<logic:present role=guest> tags etc.
Frame2 contains the /formlogin.jsp page which is presented to the user
following a request to /login.do

When the user is successfully authenticated, the action mapping updates
Frame2 with the welcomeback.jsp page.

All the above works fine.

Now the problem:

How do I force a reload of Frame1 so as to show the appropriate menu without
the user having to refresh the page?

I think I need a mechanism to force a reload of Frame1 when Frame2 is
updated with welcomeback.jsp but I am unsure how to do this.

Any help?

David Bolsover

E:david@bolsover.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Page reload problem

Posted by Mark Woon <mo...@SMI.Stanford.EDU>.
David Bolsover wrote:

> I think I need a mechanism to force a reload of Frame1 when Frame2 is
> updated with welcomeback.jsp but I am unsure how to do this.
>
> Any help?

One solution would be to use Javascript in Frame2 to reload Frame1.


-Mark


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>