摘要: 1TB=1024GB=1048576MB 1PB=1024TB 1EB=1024PB 1ZB=1024EB 阅读全文
posted @ 2017-08-08 09:38 清华园 阅读(166) 评论(0) 推荐(0)
摘要: public class Test { public static boolean show(char ch) { System.out.print(ch); return true; } public static void main(String[] args) { int x = 1; for 阅读全文
posted @ 2017-07-07 14:27 清华园 阅读(227) 评论(0) 推荐(0)
摘要: ①过滤器依赖于Servlet容器,而拦截器不依赖于Servlet容器。 ②Struts2 拦截器只能对Action请求起作用,而过滤器则可以对几乎所 有请求起作用。 ③拦截器可以访问 Action上下文(ActionContext)、值栈里的对象 (ValueStack),而过滤器不能. ④在Act 阅读全文
posted @ 2017-07-07 10:17 清华园 阅读(82) 评论(0) 推荐(0)