摘要:
直入主题. 1. web.xml对springMVC配置如下: springMVC.xml配置 2. a56爆大奖在线娱乐的web工程目录,js,css等静态资源放在工程根目录下,不在WEB-INF中 3.index.jsp中引用js,css的方式 4.@Controller 5.发布到tomcat之后,访问loca 阅读全文
摘要:
Listener接口 Event类 ServletContextListener ServletContextEvent ServletContextAttributeListener ServletContextAttributeEvent HttpSessionListener HttpSess 阅读全文
摘要:
?a56爆大奖在线娱乐可选,最多一个;*a56爆大奖在线娱乐0个或多个。 web-app (icon?, display-name?, description?, distributable?, context-param*, filter*, filter-mapping*, listener*, servlet*, servl 阅读全文
摘要:
1.ProxyInputStream: A Proxy stream which acts as expected, that is it passes the method calls on to the proxied stream and doesn't change which method 阅读全文
摘要:
java序列化机制的可以参考很多资料了,最近在看的时候发现了一些问题。 1. 默认的序列化机制,很多书里讲到序列化类只序列化类名,实例变量,不会实例化类变量(static)和瞬态变量(transient). a56爆大奖在线娱乐使用1.6,1.7,1.8测试了一下,static都是可以被序列化的。 测试代码: 阅读全文
摘要:
WatchKey register(WatchService watcher, WatchEvent.Kind<?>... events) 阅读全文
摘要:
java中实现zip的压缩与解压缩。java自带的 能实现的功能比较有限。 本程序功能:实现简单的压缩和解压缩,压缩文件夹下的所有文件(文件过滤的话需要对File进一步细节处理)。 对中文的支持需要使用java7或java8,可以在ZipOutputStream和ZipInputStream中指定C 阅读全文
摘要:
使用 :not() 在菜单上应用/取消应用边框 给body添加行高 所有一切都垂直居中 逗号分隔的列表 使用负的 nth-child 选择项目 对图标使用SVG 优化显示a56爆大奖在线娱乐 对纯CSS滑块使用 max-height 继承 box-sizing 表格单元格等宽 用Flexbox摆脱外边距的各种hac 阅读全文