摘要: 控制器的代码如下 在视图中使用: 1 <img src="/Account/SecurityCode" onclick="this.src=this.src+'?'"/> 阅读全文
posted @ 2016-12-23 17:27 写最少的代码 阅读(13834) 评论(1) 推荐(4)
摘要: File类的常用方法 boolean exists() 判断文件或目录是否存在 boolean isFile() 判断是否是文件 boolean isDirectory() 判断是否是目录 String getPath() 返回此对象表示的文件的相对路径名 String getAbsolutePat 阅读全文
posted @ 2016-12-23 15:49 写最少的代码 阅读(161) 评论(0) 推荐(0)