I believe you will want to reload your page and send the command to the
client side with JavaScript's parent.location.href="url.jsp?args=here" or
top.location.href I think they are both synonymous.
Bryan LaPlante
816-347-8220
[EMAIL PROTECTED]
http://www.netwebapps.com
Web Development
----- Original Message -----
From: "Chandralal Aruketty Velayudhan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 03, 2001 6:39 AM
Subject: open frame set
| hi there,
| hope u have a solution for this.
|
| i have a login page with 3 frmesets,from frame 2 i am submitting form to
| submit.jsp,
| there i am checking whether id & password are correct or not.
| If password is incorrect i am forwarding using <jsp:forward> to frame2
with
| a message.
| But if Id & Password are correct i want to load a new set of frames to
user.
| But what is happening is this new set of frames opening in frame2.
| how can i load this new set of frames to entire window
|
| code of submit.jsp is
| **************************************************
| <%
| if(validated) {
| %>
| <jsp:forward page="newFrameset.jsp" />
| <%
| }
| else {
| %>
| <jsp:forward page="frame2.jsp" >
| <jsp:param name="message" value="invalid loginId
or
| Password" />
| </jsp:forward>
| <%
| }
| %>
| *************************************************
|
| thankx in advance
|
|
===========================================================================
| To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
| For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
| Some relevant FAQs on JSP/Servlets can be found at:
|
| http://java.sun.com/products/jsp/faq.html
| http://www.esperanto.org.nz/jsp/jspfaq.html
| http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
| http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
|
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets