ProductUpload.jsp
上传用户:sxychgz
上传日期:2019-04-21
资源大小:4772k
文件大小:2k
源码类别:

电子政务应用

开发平台:

Java

  1. <%@ page language="java" contentType="text/html; charset=GB18030" import="com.bjsxt.shopping.*, java.util.*"
  2. pageEncoding="GB18030"%>
  3. <%
  4. int id = Integer.parseInt(request.getParameter("id"));
  5. %>
  6. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  7. <html>
  8.   <head>
  9.     <title>index.html</title>
  10.     <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
  11.     <meta http-equiv="description" content="this is my page">
  12.     <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
  13.   </head>
  14.   <body>
  15.    <form action="../servlet/FileUpload" method="post" enctype="multipart/form-data" name="form1">
  16.    <input type="hidden" name="id" value="<%=id %>">
  17.   <input type="file" name="file">
  18.   <input type="submit" name="Submit" value="upload">
  19. </form>
  20.    <form action="./servlet/HelloWord" method="post">
  21.     <input type="submit"/>
  22.     </form>
  23.     <form name="uploadform" method="POST" action="./servlet/FileUpload" ENCTYPE="multipart/form-data">
  24.         <table border="1" width="450" cellpadding="4" cellspacing="2" bordercolor="#9BD7FF">
  25.         <tr><td width="100%" colspan="2">
  26.                         文件1:<input name="x" size="40" type="file">
  27.         </td></tr>
  28.         <tr><td width="100%" colspan="2">
  29.                         文件2:<input name="y" size="40" type="file">
  30.         </td></tr>
  31.         <tr><td width="100%" colspan="2">
  32.                         文件3:<input name="z" size="40" type="file">
  33.         </td></tr>
  34.         </table>
  35.         <br/><br/>
  36.         <table>
  37.         <tr><td align="center"><input name="upload" type="submit" value="开始上传"/></td></tr>
  38.        </table>
  39. </form>
  40.   </body>
  41. </html>