所有示例均在gihub(ssh_base)中====>https://github.com/chengyangyang

随笔分类 -  路径问题

摘要:@RequestMapping("${mgt}/file") //请求的路径的统一添加,需要在mvc层配置<context:property-placeholder location="classpath:config.properties"/>使用参数的形式 @Value("#{filePath. 阅读全文
posted @ 2018-09-25 11:30 ☞书香门第☜ 阅读(192) 评论(0) 推荐(0)
摘要:classpath和classpath*区别: classpath:只会到你的class路径中查找找文件。 classpath*:不仅包含class路径,还包括jar文件中(class路径)进行查找。 注意: 用classpath*:需要遍历所有的classpath,所以加载速度是很慢的;因此,在规 阅读全文
posted @ 2018-08-30 17:32 ☞书香门第☜ 阅读(128) 评论(0) 推荐(0)
摘要:路径引发的错误 如下使用项目路径对jsp页面进行获取,会报javax.servlet.ServletException: File &quot;/web/dbwx/web/public/page_top.jsp&quot; not found 错误. jsp的这个导入标签,根本就是服务器端自己在处理 阅读全文
posted @ 2018-08-11 16:46 ☞书香门第☜ 阅读(697) 评论(0) 推荐(0)

http://count.knowsky.com/count1/count.asp?id=434520&sx=1&ys=64"