ProductUpload.jsp
资源名称:JAVAshop.rar [点击查看]
上传用户:sxychgz
上传日期:2019-04-21
资源大小:4772k
文件大小:2k
源码类别:
电子政务应用
开发平台:
Java
- <%@ page language="java" contentType="text/html; charset=GB18030" import="com.bjsxt.shopping.*, java.util.*"
- pageEncoding="GB18030"%>
- <%
- int id = Integer.parseInt(request.getParameter("id"));
- %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html>
- <head>
- <title>index.html</title>
- <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
- <meta http-equiv="description" content="this is my page">
- <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
- </head>
- <body>
- <form action="../servlet/FileUpload" method="post" enctype="multipart/form-data" name="form1">
- <input type="hidden" name="id" value="<%=id %>">
- <input type="file" name="file">
- <input type="submit" name="Submit" value="upload">
- </form>
- <form action="./servlet/HelloWord" method="post">
- <input type="submit"/>
- </form>
- <form name="uploadform" method="POST" action="./servlet/FileUpload" ENCTYPE="multipart/form-data">
- <table border="1" width="450" cellpadding="4" cellspacing="2" bordercolor="#9BD7FF">
- <tr><td width="100%" colspan="2">
- 文件1:<input name="x" size="40" type="file">
- </td></tr>
- <tr><td width="100%" colspan="2">
- 文件2:<input name="y" size="40" type="file">
- </td></tr>
- <tr><td width="100%" colspan="2">
- 文件3:<input name="z" size="40" type="file">
- </td></tr>
- </table>
- <br/><br/>
- <table>
- <tr><td align="center"><input name="upload" type="submit" value="开始上传"/></td></tr>
- </table>
- </form>
- </body>
- </html>