Ok fine i am in the process of checking out the info that you send.(Calling the servlet from the other frame by defining the function there).i called the servlet from the other frame by putting the called function in the other frame but i am not able to call it as the
jsp cant find the function.
This is what i did.
====================================================================
The main jsp
<%
String RightTopPan = "ReportsTop.jsp?uniqueId="+uniqueId; %>
<% String RightBottomPan = "Reports.jsp?uniqueId="+uniqueId; %>
<HTML>
<HEAD><TITLE>Main</TITLE></HEAD>
<FRAMESET ROWS="50%,50%" border="0">
<frame name="RightTopFrame" src="<%=RightTopPan%>" marginwidth="10" marginheight="10" scrolling="auto" frameborder="0" target="RightTopFrame" >
<frame name="RightBottomFrame" src="<%=EMCRightBottomPan%>" marginwidth="10" marginheight="10" scrolling="auto" frameborder="0" target="RightBottomFrame">
</FRAMESET>
</HTML>
================================================================
The call to the servlet was from the ReportsTop.jsp but it should return from the servlet to Reports.jsp so i defined the function in Reports.jsp and called from ReportsTop.jsp as:
<table>
<tr>
<select size="1" name="D1" id = "report" name="report" onChange="top.RightBottomFrame.doGetid()">
<option ></option>
<option value="top20list" >Top 20 List</option>
</select>
</tr>
</table>
doGetid() function is in the Reports.jsp
top.RightBottomFrame.doGetid() doesnt seem to work.
Any suggestions...........