in your login form element add a target attribute.
target="_top"
_top means the top level page
_blank is a new blank page
etc...
For example:
<form action="login.jsp" method="post" target="_top">
..
</form>
When user posts, it will refresh your top level window.
Phillip Rhodes
[EMAIL PROTECTED]
Alcoa eCommerce
https://www.ALCOADIRECT.COM
826B Two Allegheny Center Pittsburgh, PA 15212
(412) 553-4900 (phone) (412) 553-2484 (fax)
-----Original Message-----
From: Louis [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 18, 2000 12:09 PM
To: [EMAIL PROTECTED]
Subject: [JRun-Talk] how to change the whole page?
Hi,
I have two main jsp page, index.jsp and index1.jsp. Both of them have 2
frames, left-hand and right-hand. In index.jsp, the right-hand frame is
login page, and it have a login button. This button is link to the my
servlet, the servlet will do the checking, then using getRequestDispatcher()
to forward to index1.jsp.
My problem is, after login, the index1.jsp is come out in index.jsp
right-hand frame, but I want the whole index.jsp page replace by index1.jsp
after success login. Anyone can tell me how to do it?
Thanks
Louis
----------------------------------------------------------------------------
--
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe:
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe'
in the body.
------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the
body.