你登陆论坛的时候,我们先看看浏览器干了什么事儿:
用Firefox打开HiPda 的登陆页面,输入用户名和密码,点登陆。
下面是通过firebug插件获取的数据:
可以看到浏览器这个http://www.hi-pda.com/forum/logging.php?action=login&loginsubmit=yes&inajax=1网址发了一个POST请求
看一下它POST的参数...
分类:
移动开发 时间:
2014-06-09 23:33:03
阅读次数:
334
测试环境均为本地,测试软件为:nginx-1.6.0,apache-tomcat-7.0.42-1,apache-tomcat-7.0.42-2,apache-tomcat-7.0.42-3利用nginx做负载均衡,三台tomcat做WEB具体业务处理。nginx配置nginx.conf:#Nginx所用用户和组,window下不指定
#user niumd niumd;
#user...
分类:
其他好文 时间:
2014-06-08 17:35:57
阅读次数:
199
升级jboss版本到jjboss-eap-6.2之后,启动项目时CXF出现异常。
在jboss-as-7.1.1.Final、apache-tomcat-7.0.37以及jboss-eap-6.1 下运行项目都正常,唯独jboss-eap-6.2下出问题。...
分类:
其他好文 时间:
2014-06-08 17:10:03
阅读次数:
704
登录ORACLE EBS系统遭遇TOMCAT页面...
分类:
数据库 时间:
2014-06-08 16:58:31
阅读次数:
234
原始form表单值获取方式(手动):$.ajax({
type: "POST",
url: "ajax.php",
data: "Name=摘取天上星&position=IT技术",
success: function(msg){alert(msg);},
error: function(error){alert(error);}
});JQ serialize()...
分类:
Web程序 时间:
2014-06-08 16:19:01
阅读次数:
280
1.首先需要在linux系统tomcat/bin目录下配置catalina.sh这个文件中增加:
CATALINA_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
参数说明:
-Xdebug : 启用调试模式
-X...
分类:
Web程序 时间:
2014-06-08 15:09:35
阅读次数:
290
WebClient web = new CookieWebClient();
web.Encoding = Encoding.UTF8;
string regUrl = "http://test.com";
web.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
byte[] post = Encoding.UTF...
分类:
Web程序 时间:
2014-06-08 10:50:57
阅读次数:
324
Active Record (AR) 是一个流行的 对象-关系映射 (ORM) 技术。 每个 AR 类代表一个数据表(或视图),数据表(或视图)的列在 AR 类中体现为类的属性,一个 AR 实例则表示表中的一行。 常见的 CRUD 操作作为 AR 的方法实现。因此,我们可以以一种更加面向对象的方式访问数据。 例如,我们可以使用以下代码向 tbl_post 表中插入一个新行。...
分类:
其他好文 时间:
2014-06-08 09:42:39
阅读次数:
334
default character encoding of the request or
response body: If a character encoding is not specified, the Servlet
specification requires that an enco....
分类:
其他好文 时间:
2014-06-08 00:19:22
阅读次数:
270
1.错误:在eclipse中使用run->run on
server的时候,选择tomcat6会报错误:The server does not support version 3.0 of the J2EE Web
module specification2.原因:Tomcat 6.0最多支持Ser...
分类:
Web程序 时间:
2014-06-07 22:16:41
阅读次数:
339