jsp 文件上传浏览,支持ie6,ie7,ie8_JSP教程-查字典教程网
jsp 文件上传浏览,支持ie6,ie7,ie8
jsp 文件上传浏览,支持ie6,ie7,ie8
发布时间:2016-12-29 来源:查字典编辑
摘要:找了好久终于找到一个jsp上能用的……分享!!复制代码代码如下:管理区域商品图片:*

找了好久终于找到一个jsp上能用的…… 分享!!

复制代码 代码如下:

<%@ page language="java" contentType="text/html; charset=UTF-8"

pageEncoding="UTF-8"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<link rel="stylesheet" href="../css/common.css" href="css/common.css" type="text/css" />

<title>管理区域</title>

<style type="text/css"><></style>

<script type="text/javascript" language="javascript"><></script>

</head>

<body>

<div id="man_zone">

<form action="product.do?command=addProduct" method="post" name="Upload" enctype="multipart/form-data">

<table width="100%" border="0" align="center" cellpadding="3"

cellspacing="1">

<tr>

<td>

商品图片:

</td>

<td><input type="file" name="file" onchange="javascript:PreviewImg(this);" /><font color=red>*</font><div id="newPreview"></div></td>

</tr>

<tr>

<td>

<input type="submit" name="Submit" value="增加" />

</td>

<td>

<input type="reset" name="Reset" value="重置" />

</td>

</tr>

</table>

</form>

</div>

</body>

</html>

相关阅读
推荐文章
猜你喜欢
附近的人在看
推荐阅读
拓展阅读
  • 大家都在看
  • 小编推荐
  • 猜你喜欢
  • 最新JSP教程学习
    热门JSP教程学习
    编程开发子分类