This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes frames Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "frames" Watch "frames" New topic



Joined: Aug 16, 2006
Posts: 10
i am using 4 frames in my main.jsp. i have written a form in the content-viewer-top.jsp (i.e. one of the frames). whenever i submit the form, only the frame whihc contains the form is getting responded. i mean to say that the reponse jsp page is shown in the current frame only . i want to display the responded jsp in the entire page not in the current frame. please suggest me here. i have pasted the code below for reference.

Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Welcome to JavaRanch!

We're pleased to have you here with us in the JSP forum, but there
are a few rules that need to be followed, and one is that proper names are
required. Please take a look at the
JavaRanch Naming Policy and
adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

You can change it here

Welcome to JavaRanch!

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Mario Rezende

Joined: Dec 13, 2006
Posts: 5
Use the "target=_top" in your form tag:
<form action="page1.jsp" method="get" target="_top">

Good Lucky
subject: frames
Similar Threads
printing frames . . .
Frames in JSP
doubling in frames
Frame synchronization forJSP's
Jboss 5.1.0 jsp:root not working