随笔 - 86  文章 - 5  评论 - 22  阅读 - 35万
11 2016 档案
getResource()和getResourceAsStream以及路径问题
摘要:用JAVA获取文件,听似简单,但对于很多像我这样的新人来说,还是掌握颇浅,用起来感觉颇深,大常最经常用的,就是用JAVA的File类,如要取得c:/test.txt文件,就会这样用File file = new File("c:/test.txt");这样用有什么问题,相信大家都知道,就是路径硬编码 阅读全文
posted @ 2016-11-21 09:08 J.M.Liu 阅读(1166) 评论(0) 推荐(0) 编辑
〖转〗request.getparameter()和request.getAttribute()的区别
摘要:getAttribute表示从request范围取得设置的属性,必须要先setAttribute设置属性,才能通过getAttribute来取得,设置与取得的为Object对象类型 getParameter表示接收参数,参数为页面提交的参数,包括:表单提交的参数、URL重写(就是xxx?id=1中的 阅读全文
posted @ 2016-11-10 20:18 J.M.Liu 阅读(375) 评论(0) 推荐(0) 编辑
IntelliJ IDEA 中module的dependencies是其它module时的注意事项
摘要:Dependencies on other modules If a module (module A) depends on another module (module B), IntelliJ IDEA assumes that: The sources of module A depend 阅读全文
posted @ 2016-11-07 16:18 J.M.Liu 阅读(7751) 评论(0) 推荐(0) 编辑
IntelliJ IDEA 的Project structure说明
摘要:IntelliJ IDEA 的Project structure可以在File->Project structure中打开,同时,在新建项目是IDE一般用向导的方式让你填写Project structure相关内容。在说明如何填写之前,先说说这些项都代表什么,包含Project、module、lib 阅读全文
posted @ 2016-11-03 19:32 J.M.Liu 阅读(64435) 评论(9) 推荐(5) 编辑

< 2025年4月 >
30 31 1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 1 2 3
4 5 6 7 8 9 10

点击右上角即可分享
微信分享提示