wintys 发表于 2013-2-6 08:41:04

O'Reilly cos上传组件的使用(1/3)

O'Reilly cos上传组件的使用(1/3) - 上传文件

O'Reilly cos上传组件的下载地址为:
http://www.servlets.com/cos/index.html
CSDN下载地址(无需积分):http://download.csdn.net/source/1089239

下载后,将cos.jar放至WEB-INF/lib目录下 , 重启Tomcat.

upload.html:
<div class="mycode">
<form method="post" action="cos_basic.jsp"
enctype="multipart/form-data">
文件:<input type="file" name="file" />
<input type="submit" value="上传" />
</form>
页: [1]
查看完整版本: O'Reilly cos上传组件的使用(1/3)