摘要: preference-->MyEclipse-->FilesandEditors-->CommonEditorPreference-->Hovers把里面的勾去掉 阅读全文
posted @ 2013-12-02 23:41 于辰 阅读(285) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2013-12-02 23:40 于辰 阅读(285) 评论(0) 推荐(0) 编辑
摘要: .preImg { height:400px !important}以上代码即可保证id为preImg的图片高度为400px,而不会被其自身的style覆盖。 阅读全文
posted @ 2013-12-02 23:39 于辰 阅读(3185) 评论(0) 推荐(0) 编辑
摘要: 实际项目中一般是用utf-8的,而Tomcat的默认编码则是iso-8859-1,因此我们通常编辑conf/下的server.xml,配置Connector项,加上属性URIEncoding="UTF-8"即可。 阅读全文
posted @ 2013-12-02 23:38 于辰 阅读(155) 评论(0) 推荐(0) 编辑
摘要: document.location.reload();会重新加载页面,onload事件会被触发。location.href='xxx'刷新页面,onload事件不会触发。 阅读全文
posted @ 2013-12-02 23:36 于辰 阅读(1345) 评论(0) 推荐(0) 编辑
摘要: preference-->MyEclipse-->FilesandEditors-->CommonEditorPreference-->Hovers把里面的勾去掉 阅读全文
posted @ 2013-12-02 23:20 于辰 阅读(115) 评论(0) 推荐(0) 编辑