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

求助:新闻发布系统的问题(搞了半天也不知道是哪里出问题了)
//插入二级标题
<%@   page   contentType= "text/html;   charset=GBK "   %>
<%@   page   import= "java.util.ArrayList,news.FirstLevelTitle,news.FirstLevelTitleDAO "   %>
<%!
FirstLevelTitleDAO   fd=new   FirstLevelTitleDAO();
FirstLevelTitle   ft=new   FirstLevelTitle();
ArrayList   list1=fd.show1();
%>

<table   width= "760 "   border= "1 "   cellspacing= "0 "   cellpadding= "0 "   align= "center ">
    <tr>
        <td   height= "140 "   colspan= "2 "> <img   src= "pic/321.jpg "   width= "760 "   height= "140 "   alt= " "> </td>
    </tr>
    <tr>
        <td   width= "210 "   height= "400 "   valign= "top "> <br> <b> &nbsp;新闻发布后台管理 </b>
        <br> &nbsp; <a   href= "FirstTitle.jsp "> 一级标题发布 </a>
        <br> &nbsp;二级标题及文件位置发布 </td>
        <td   width= "550 "   height= "400 ">
            <table   width= "550 "   border= "0 "   cellspacing= "0 "   cellpadding= "0 ">
                <tr>
                    <td> <center> <b> <center> 二级标题及文件位置发布 </center> </b> <br> <br>
                    <form   method= "post "   action= "secondinsert ">
                    <table> <tr> <td> 一级标题: </td> <td>
                        <select   name= "first ">
                    <%
                    for(int   i=0;i <list1.size();i++){
                    ft=(FirstLevelTitle)list1.get(i);
                        %>
                    <option   value= " <%=ft.getTitleName()%> "> <%=ft.getTitleName()%> </option>
                    <%}
                    %>
                    </select> </td> </tr>
                    <tr> <td> 二级标题: </td> <td> <input   type= "text "   name= "secondname "> </td> </tr>
                    <tr> <td> 文件位置: </td> <td> <input   type= "file "   name= &