passer1991

2013年6月13日

System.setOut(ps)重定义了输出流后,如何重定向控制台输出

摘要: 可以用System.setOut(newPrintStream(newFileOutputStream(FileDescriptor.out)));重新定位到标准输出流 阅读全文

posted @ 2013-06-13 14:05 passer1991 阅读(464) 评论(0) 推荐(0) 编辑

在javaEE 中获得web的路径

摘要: ServletActionContext.getServletContext().getRealPath("/upload/index"); 阅读全文

posted @ 2013-06-13 11:55 passer1991 阅读(91) 评论(0) 推荐(0) 编辑

导航