日期:2014-05-18  浏览次数:20766 次

请教一个frameset在不通分辨率下的问题
代码如下:

<frameset   rows= "130,*,110 "   cols= "780 "   frameborder= "no "   border= "0 "   framespacing= "0 ">
    <frame   src= " <%=request.getContextPath()%> /loadData/top.jsp "   name= "topFrame "   scrolling= "No "   noresize= "noresize "   id= "topFrame "   title= "topFrame "   />
  <%   int   flag   ;
  if(request.getParameter( "flag ")==null){flag=0;}
  else{flag=   Integer.parseInt(request.getParameter( "flag ").toString());}
    if(flag==0){%>          
        <frame   src= " <%=request.getContextPath()%> /loadData/main.jsp "   name= "mainFrame "   scrolling= "No "   id= "mainFrame "   title= "mainFrame "     noresize= "noresize "/>
        <frame   src= " <%=request.getContextPath()%> /loadData/foot.jsp "   name= "footFrame "   scrolling= "No "   id= "footFrame "   title= "footFrame "     noresize= "noresize "/>
        <%}else   if(flag==1){System.out.println(flag);%>
          <frameset   rows= "* "   cols= "260,520 "   framespacing= "0 "   frameborder= "no "   border= "0 ">
        <frame   src= " <%=request.getContextPath()%> /loadData/left_haidian.jsp "   name= "leftFrame "   scrolling= "No "   noresize= "noresize "   id= "leftFrame "   title= "leftFrame "   noresize= "noresize "/>
        <frame   src= " <%=request.getContextPath()%> /loadDataAction.do?method=listHDMainInfo "   name= "mainFrame "   id= "mainFrame "   title= "mainFrame "   scrolling= "No "   noresize= "noresize "/>
          </frameset>
            <frame   src= " <%=request.getContextPath()%> /loadData/foot.jsp "   name= "footFrame "   scrolling= "No "   id= "footFrame "   title= "footFrame "     />      
        <%}else   if(flag==2){%>
          <frameset   rows= "* "   cols= "290,540 "   framespacing= "0 "   frameborder= "no "   border= "0 ">
            <frame   src= " <%=request.getContextPath()%> /loadData/left_jinji.jsp "   name= "leftFrame "   id= "leftFrame "   title= "leftFrame "   />
        <frame   src= " <%=request.getContextPath()%> /loadEconomicAction.do?method=listEconomic "   name= "mainFrame "   id= "mainFrame "   title= "mainFrame "   scrolling= "yes "/>
          </frameset>
<frame   src= " <%=request.getContextPath()%> /loadData/foot.jsp "   n