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

在线等高手帮忙!表单提交到数据库,但是前台无法显示数据库里的内容
这是jsp提交表单的代码:
Java code
        <table id="flex" style="display: none" ></table>
        <div class="jqmWindow" id="divInfo" >
            <div class="drag"> 
                社区
                <div class="close"></div>
            </div>
            
            <form id="formInfo" method="post" enctype="multipart/form-data" action="hwebdc_add.action" >
                <input type="hidden" name="edit">
                <input type="hidden" name="dc_url"> 
                <table border="0" align="center">
                    <tr>
                        <td>社区名称:</td>
                        <td>
                            <input type="hidden" name="dc_id" id="dc_id">
                            <input type="text" name="dc_name" class="required" maxlength="50" size="28">
                        </td>
                    </tr>    
                    <tr>    
                    <tr>
                        <td>链接图片:</td>
                        <td>
                            <input type="file" name="image">
                        </td>
                    </tr>
                            
                    <tr>
                        <td>社区排序:</td>
                        <td><input type="text" name="dc_sort" class="required" maxlength="5" size="8"></td>
                    </tr>
                    <tr>
                        <td>标识:</td>
                        <td><input type="text" name="dc_identify" class="required" maxlength="5" size="8"></td>
                    </tr>
                    <tr>
                        <td>链接地址:</td>
                        <td><input type="text" name="dc_url" class="required" maxlength="50" size="28"></td>
                    </tr>
                    <tr>
                        <td>分中心标识:</td>
                        <td><input type="text" name="dc_branch_center" class="required" maxlength="5" size="8"></td>
                    </tr>
                    <tr>
                        <td>社区地址:</td>
                        <td><input type="text" name="dc_addr" class="required" maxlength="50" size="28"></td>
                    </tr>    
                    <tr>
                        <td>社区简介:</td>
                        <td>
                        <textarea  id="content_1" name="content_1"  style="width:230px;height:260px;">
                        </textarea>
                        </td>
                    </tr>    
                    <tr>
                        <td>社区联系人:</td>
                        <td><input type="text" name="dc_linkman" class="required" maxlength="50" size="28"></td>
                    </tr>        
                    <tr>
                        <td>社区电话:</td>
                        <td><input type="text" name="d