1.远程服务器返回了意外相应:(413) Request Entity Too
Large修改客户端配置maxReceivedMessageSize="2147483647" 并在服务端修改webconfig,加入binding节...
分类:
其他好文 时间:
2014-05-26 23:10:58
阅读次数:
370
HttpWebRequest request; HttpWebResponse
response; ASCIIEncoding encoding = new ASCIIEncoding(); request = WebRequest...
分类:
Web程序 时间:
2014-05-26 15:49:01
阅读次数:
234
浏览器与服务器间的交互(客服端 服务器) 请求--->处理--->响应
对类HttpContext 内部成员的使用 例如 :Request 、Response 、Cookie 、 Session 、GetSection . .
.///...
分类:
其他好文 时间:
2014-05-26 12:31:20
阅读次数:
273
假定web application 名称为news,你在浏览器中输入请求路径:
http://localhost:8080/news/main/list.jsp 则执行下面向行代码后打印出如下结果:1、
System.out.println(request.getContextPath()); 打印...
分类:
其他好文 时间:
2014-05-24 08:05:54
阅读次数:
264
linux centos 下代理http、https、ftp全局使用代理:export
http_proxy=http://host:port/export https_proxy=http://host:port/export
ftp_proxy=http://host:port/使用wget按需...
分类:
系统相关 时间:
2014-05-24 07:53:34
阅读次数:
420
///
/// 判断手机用户UserAgent
///
///
private bool IsMobile()
{
HttpContext context = HttpContext.Current;
if (context != null)
{
HttpRequest request = context.Request;
i...
分类:
移动开发 时间:
2014-05-23 01:06:25
阅读次数:
258
话不多少,直接上代码,思路还是挺简单的。
UIWebView *webView = [[UIWebView alloc]initWithFrame:self.view.frame];
// HTML文件来自Project
// 步骤:path - > url - > request with url - > loadRequest
NSStrin...
分类:
编程语言 时间:
2014-05-22 23:53:05
阅读次数:
442
axel是Linux命令行下多线程的下载工具,支持断点续传,速度通常情况下是Wget的几倍官方主页:http://axel.alioth.debian.org/源码下载:#curl-Ohttp://pkgs.fedoraproject.org/repo/pkgs/axel/axel2.4.tar.gz/a2a762fce0c96781965c8f9786a3d09d/axel-2.4.tar.gz编译安装:#tar-xvf..
分类:
编程语言 时间:
2014-05-22 17:41:24
阅读次数:
521
Direct request is the simplest method used to request a semaphore. The request behaves as an atomic read and set operation. The result of a request is either to grant the semaphore
to the requesting...
分类:
其他好文 时间:
2014-05-22 17:21:38
阅读次数:
517
一.什么是Asp.Net页面生命周期当我们在浏览器地址栏中输入网址,回车查看页面时,这时会向服务器端(IIS)发送一个request请求,服务器就会判断发送过来的请求页面,
完全识别 HTTP 页面处理程序类后,ASP.NET 运行时将调用处理程序的 ProcessRequest 方法来处理请求,来...
分类:
Web程序 时间:
2014-05-22 15:30:10
阅读次数:
347