Louis,
Use the target keyword on the form tag
ie: <form method="post" action="myservlet" target="parent"></form>
Matt

Louis wrote:

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.

begin:vcard 
n:Goss;Matt
tel;fax:919-657-1501
tel;work:919-657-1432
x-mozilla-html:FALSE
url:www.rtci.com
org:RTCI;Custom Solutions
adr:;;201 Shannon Oaks Circle;Cary;NC;27511;US
version:2.1
email;internet:[EMAIL PROTECTED]
title:Web Developer
fn:Matt
end:vcard

Reply via email to