日期:2014-05-17  浏览次数:20837 次

关于JSP怎么调用iframe


如图,今日新闻这一块是用iframe做的,就是说我在搜索的时候,点确定,今日新闻这块iframe才会变化,但是应该怎么在
<form action="Second.jsp">
                 <span class="search_font">新闻关键字:</span>
                      <input type="text" name="keyword" style="width:100px;"/> <br /><br />
                        <select name="tyle">
                            <option selected="selected">请选择新闻类型</option>
                        <%
                         Collection coll=type.NewsType();
                         Iterator iter=coll.iterator();
                         while(iter.hasNext()){
                         NewsTypeModel nt=(NewsTypeModel)iter.next();
                         %>
                         <option value=<%=nt.getTypeName() %>><%=nt.getTypeName() %></option>
                         <%
                         }
                        %>
                         </select>
                        <input type="button" value="确认查询" style="background:#09F; width:68px;"/>
                        </form>

   	<div id="center_right">
         <img src="images/tiao1.jpg" />
            <span class="title">今日新闻</span>
            <iframe src="iframe_table.jsp" width="570" height="461" scrolling="no" frameborder="0"></iframe>