今天研究了一些用jquery $.ajax跨域的方法,总结了一些注意事项如下:
首先,跨域JSONP不是AJAX。它不使用XMLHttpRequest。只不过是一个动态脚本元素加载JavaScript代码。Cross-domain
JSONP isn’t AJAX at all. It doesn’...
分类:
Web程序 时间:
2014-07-22 23:16:14
阅读次数:
544
PHP 后台定时循环刷新某个页面如果间隔时间过长的话
会出现apache自动停止的现象。出现的原因则是设置了 ThreadsPerChild 450 MaxConnectionsPerChild
3000错误日志报错[mpm_winnt:notice] [pid 126...
分类:
Web程序 时间:
2014-04-30 20:07:28
阅读次数:
520
错误描述:Illegal overloaded getter method with
ambiguous type for property parent in class class cn.domain.Menu. This breaks
the JavaBeans specification a...
分类:
其他好文 时间:
2014-04-30 15:24:40
阅读次数:
6857
package org.apache.struts2.dispatcher;import
com.opensymphony.xwork2.ActionInvocation;import
com.opensymphony.xwork2.Result;import com.opensymphony.xw...
分类:
其他好文 时间:
2014-04-29 18:55:17
阅读次数:
415
一、jstl标签的下载与配置摘要:下载地址http://www.apache.org/dist/jakarta/taglibs/standard/,主要standard.jar
与 jstl.jar 两个jar文件,若为所有web应用使用可拷贝到tomcat的 lib目录下,若为当前应用使用拷贝到W...
分类:
Web程序 时间:
2014-04-29 17:55:44
阅读次数:
699
1、获取主机信息@Test public void GetDomainInfo() throws
UnknownHostException { String domain = "www.baidu.com"; InetAddress netAddress =
InetAddress.getByN.....
分类:
编程语言 时间:
2014-04-29 16:18:55
阅读次数:
553
Index.jsp struts2
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter struts...
分类:
Web程序 时间:
2014-04-29 13:57:27
阅读次数:
510
用apache的时候总是要进入/var/www,
用久了开始好奇这些个目录都是派什么用处的,简单整理了一下/bin
存放二进制命令文件,这个目录下面不允许存在子目录/boot bootloader的静态文件,当然OS的文件也必须在这里/dev 设备文件,MAKEDEV命令可以创建设备/etc 特定主...
分类:
系统相关 时间:
2014-04-29 13:37:58
阅读次数:
675
在httpd.conf里,1、把#NameVirtualHost
*:80前的注释去掉2、ServerName 127.0.0.1 修改成ServerName 72.167.11.303、#NameVirtualHost *
修改成"NameVirtualHost 72.167.11.30" 简单的...
分类:
其他好文 时间:
2014-04-29 10:44:46
阅读次数:
356
Java代理Internet2013年10月23日23:14 Java HTTP
ProxySettings OVERVIEW For local networks within an organization, access to the
public-domain Internet is oft...
分类:
编程语言 时间:
2014-04-29 10:36:46
阅读次数:
537