摘要: 好久没有用到文件上传了,很多的细节都忘记了,今天学习了一下,与大家分享,首先来看下性能较高的COS。关于cos的历史就不啰嗦了,大家在Google一下就可以找到很多,主要来看下他的用法,在jsp中:<formenctype="multipart/form-data"method="post"action="UploadServlet.do"><inputtype="text"name="userName"/><p>上传文件1:<inputtype=&qu 阅读全文
posted @ 2009-08-10 13:21 java程序代码 阅读(182) 评论(0) 推荐(0) 编辑
摘要: <!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=gb23 阅读全文
posted @ 2009-08-10 09:55 java程序代码 阅读(162) 评论(0) 推荐(0) 编辑
摘要: JavaScript动态生成制定行数,列数,并制定表头的表格<html><head><script language="javascript">var table_head = new Array("用户名","MAC地址","用户类型");var col_width = new Array("50px","80px","100px");function create_table( row_num,table_head, 阅读全文
posted @ 2009-08-10 09:51 java程序代码 阅读(377) 评论(0) 推荐(0) 编辑