摘要: 1、利用System.getProperty()函数获取当前路径:System.out.println(System.getProperty("user.dir"));//user.dir指定了当前的路径2、使用File提供的函数获取当前路径:File directory = new File("");//设定为当前文件夹try{ System.out.println(directory.getCanonicalPath());//获取标准的路径 System.out.println(directory.getAbsolutePath());//获取绝对 阅读全文
posted @ 2011-06-06 11:42 规格严格-功夫到家 阅读(136777) 评论(3) 推荐(3)
摘要: ==================================================Advanced Configuration - Multiple Tomcat Instances==================================================In many circumstances, it is desirable to have a single copy of a Tomcatbinary distribution shared among multiple users on the same server. To makethi 阅读全文
posted @ 2011-06-06 10:59 规格严格-功夫到家 阅读(347) 评论(0) 推荐(0)