摘要: 第一:code@RequestMapping(value = "/query/{keyword}", method = RequestMethod.GET, produces = "text/html;charset=UTF-8")public String query(@PathVariable ... 阅读全文
posted @ 2015-09-25 14:55 zhao1949 阅读(381) 评论(0) 推荐(0)
摘要: 使用System.IO模块使用函数openBinaryFile :: FilePath -> IOMode -> IO Handle打开文件 IOMode为 ReadWriteMode, 不然会截断文件eg:h ByteString -> IO ()Outputs a ByteString to ... 阅读全文
posted @ 2015-09-25 14:18 zhao1949 阅读(594) 评论(0) 推荐(0)