摘要: 1. 上传String path_tmp = ""; String real_path = ""; String fileName = ""; String file_url = ""; String uploadDir = File.separator + "upload" + File.separator + "contract" + File.separator; path_tmp = PathKit.getWebRootPath() + uploadDir; Uplo 阅读全文
posted @ 2013-07-27 15:25 东师理想--周枫 阅读(423) 评论(0) 推荐(0) 编辑
摘要: 今天做form提交的时候,用到了disabled,form提交的时候怎么获取都是null,后来用hidden解决了这个问题,但是考虑到为什么,最后找到了原因,转载一篇文章,说明一下原文:http://www.nowamagic.net/html/html_ReadonlyAndDisabled.phpReadonly和Disabled是用在表单中的两个属性,它们都能够做到使用户不能够更改表单域中的内容。但是它们之间有着微小的差别,总结如下:Readonly只针对input(text / password)和textarea有效,而disabled对于所有的表单元素都有效,包括select, r 阅读全文
posted @ 2013-07-27 13:46 东师理想--周枫 阅读(251) 评论(0) 推荐(0) 编辑