frames

hi,

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.

<FRAMESET rows="<%=rows%>,*" border="0" framespacing="0" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">

<FRAME name="frameTop" src="content-viewer-top.jsp?<%= contentViewerHelper.getQueryString() %>" noresize scrolling="no" border="0" frameborder="no" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">

<!-- header frame -->

<!-- toc and document view frameset -->

<FRAMESET id="framesContent" name="framesContent" cols="370,*" frameborder="1" bordercolor="#336699" border="1" framespacing="4" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0"><%-- changed cols from 192 to 370 by artp --%>

<FRAME name="frameLeft" src="content-viewer-left.jsp?<%= contentViewerHelper.getQueryString() %>#<%= contentViewerHelper.getAnchor() %>" scrolling="auto" frameborder="no" border="1" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">

<FRAME id="frameRight" name="frameRight" src="content-viewer-right.jsp?<%= contentViewerHelper.getQueryString() %>&initialEntry=true#<%= (contentViewerHelper.isReferringSearchResult() || request.getParameter(CRNSearcherConst.URL.HIGHLIGHT_ONOFF)!=null) ? CRNSearcherConst.FIRST_ANCHOR_IN_HIGHLIGTED_DOCUMENT : contentViewerHelper.getAnchor() %>" scrolling="auto" frameborder="no" border="1">

</FRAMESET>

<!-- footer frame -->

<frame name=frameBottom src="content-viewer-bottom.jsp" scrolling="no" border="0" marginWidth="0" marginHeight="0" scrolling="no" leftmargin="0" topmargin="0" frameBorder="no" >

<noframes>

Your browser does not support frames.

<!-- send a client to a frameless version of the page -->

</noframes>

</frameset>

[3552 byte] By [bobza] at [2007-11-27 4:17:04]
# 1
hiif you add attribute target="target_frame_name" then your response.jspwill be displayed in that frame.bye
sricodea at 2007-7-12 9:23:39 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...