⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 checkfileupload.jsp

📁 用于上传的原码。上传(j2ee包太大你自己找一个放到这里就可以了).rar
💻 JSP
字号:
<%@ page contentType="text/html; charset=gbk" %>
<%@ page import="
            java.sql.*,
            java.lang.*,
            java.util.*"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- UI design by samstudio. -->
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="/plats/common/mis.css" rel="stylesheet" type="text/css">
<link href="/plats/common/main.css" rel="stylesheet" type="text/css">
</head>

<SCRIPT LANGUAGE = "JavaScript">

function upvrs()
{
form_1.submit();
}
</SCRIPT>

<%


//----Modify Here---
Collection col = null;
String info3  = "上传数据到服务器:<input type=file name=checkpath size=20><input type=button value='上传' onclick='upvrs()'>";

%>


<body>
<form name="form_1" action="CheckFileUploadSubmit.jsp" method="post" enctype="multipart/form-data">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr> 
    <td height="18" colspan="3"><img src="/plats/images/spacer.gif" width="1" height="1"></td>
  </tr>
  <tr> 
    <td width="20"><img src="/plats/images/spacer.gif" width="1" height="1"></td>
    <td valign="top"> 
      <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td width="7"><IMG SRC="/plats/images/main_left_bar_left.gif" WIDTH=7 HEIGHT=26 ALT=""></td>
          <td width="18" background="/plats/images/main_left_bar_bg.gif"><IMG SRC="/plats/images/main_arrow_1.gif" WIDTH=10 HEIGHT=11 ALT=""></td>
          <td background="/plats/images/main_left_bar_bg.gif" class="barch">数据导入</td>
          <td width="7"><IMG SRC="/plats/images/main_left_bar_right.gif" WIDTH=7 HEIGHT=26 ALT=""></td>
        </tr>
      </table>
      <table width="100%" border="0" cellpadding="12" cellspacing="1" bgcolor="#5892C3">
        <tr> 
          <td valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="0" cellspacing="0">
              <tr> 
                <td width="65" rowspan="3" valign="top"><img src="/plats/ico/cue.jpg" width="60" height="60"></td>
                <td width="105" height="39" valign="bottom" class="ch-title">请注意:</td>
                <td valign="bottom"><font color="#003366">选择要导入的表:</font><select name="biao" style="width=200">
   <option value="">————请选择————</option>
<%
     
        for (int i = 0 ; i < 10 ; i++) {

%>
		     <option value="aa<%=i%>">aa<%=i%></option>
<%
        
      }
%>
 </select></td>
                <td width="12" rowspan="3" valign="bottom">&nbsp;</td>
              </tr>
              <tr> 
                <td colspan="2" bgcolor="#FF3F13"><img src="/plats/images/spacer.gif" width="1" height="1"></td>
              </tr>
              <tr> 
                <td height="20" colspan="2" class="color-green">&nbsp;</td>
              </tr>
            </table>
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr> 
                  <td width="8%" rowspan="2"><img src="/plats/images/spacer.gif" width="67" height="67"></td>
                  <td width="86%" height="33" colspan="2" valign="top" class="color-green"><span class="ch-big"><strong>
                    <%=info3%>
                    <br>
                    </strong></span></td>
                  <td width="6%" rowspan="2" class="color-green"><img src="/plats/images/spacer.gif" width="46" height="46"></td>
                </tr>
              </table>

			</td>
        </tr>
      </table></td>
    <td width="18"><img src="/plats/images/spacer.gif" width="1" height="1"></td>
  </tr>
</table>

</form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -