// this其实是一个Html 元素。 // $this 只是个变量名,加$是为说明其是个jquery对象。 // 而$(this)是个转换,将this表示的dom对象转为jquery对象,这样就可以使用jquery提供的方法操作。 (function($){ $.fn.hilight = fun... ...
分类:
Web程序 时间:
2016-12-30 07:43:43
阅读次数:
201
HTML <div id="list"> <ul></ul> </div> <div id="pagecount"></div> CSS #list{width:680px; height:530px; margin:2px auto; position:relative} #list ul li{ ...
分类:
Web程序 时间:
2016-12-30 02:20:47
阅读次数:
238
// Authenticator authenticator = new Authenticator() {//// public PasswordAuthentication getPasswordAuthentication() {// return (new PasswordAuthentic ...
分类:
其他好文 时间:
2016-12-29 19:56:46
阅读次数:
122
import socketserver import struct # DNS Query class SinDNSQuery: def __init__(self, data): i = 1 self.name = '' while True: d = data[i] if d == 0:... ...
分类:
编程语言 时间:
2016-12-29 16:24:52
阅读次数:
217
addTab("打分页面", "cgsd/zww/giveGrade.jsp?subId="+val, null, true, "ajax"); //在跳转之后的页面获取传的值 <% String selectDefault = request.getParameter("subId");/* 获得 ...
分类:
其他好文 时间:
2016-12-29 10:49:40
阅读次数:
681
需要加入下面的一个bean 如果是xml,自己对应转换成xml配置即可(为什么这样做?我目前也不清楚,可能因为版本问题吧,后期再做了解) ...
分类:
其他好文 时间:
2016-12-28 20:30:52
阅读次数:
281
有三个地方需要改编码设置: 1. window--》preference--》general--》contenttype 然后在content types中展开每一个子项,并在Default encoding中输入“UTF-8”,再点Update 2. window--》preference--》M ...
分类:
Web程序 时间:
2016-12-28 17:45:36
阅读次数:
170
一般情况下,对来自浏览器的请求的拦截,是利用Filter实现的,这种方式可以实现Bean预处理、后处理。 Spring MVC的拦截器不仅可实现Filter的所有功能,还可以更精确的控制拦截精度。 spring为我们提供了org.springframework.web.servlet.handler ...
分类:
编程语言 时间:
2016-12-28 12:41:41
阅读次数:
196
序言 Nginx是lgor Sysoev为俄罗斯访问量第二的rambler.ru站点设计开发的。从2004年发布至今,凭借开源的力量,已经接近成熟与完善。 Nginx功能丰富,可作为HTTP服务器,也可作为反向代理服务器,邮件服务器。支持FastCGI、SSL、Virtual Host、URL Re ...
分类:
其他好文 时间:
2016-12-28 12:23:35
阅读次数:
184
在对网页进行调试的过程中,经常会用到js来获取元素的CSS样式,方法有很多很多,现在仅把我经常用的方法总结如下: 1. obj.style:这个方法只能JS只能获取写在html标签中的写在style属性中的值(style=”…”),而无法获取定义在<style type="text/css">里面的 ...
分类:
Web程序 时间:
2016-12-27 23:24:00
阅读次数:
209