1.远程服务器返回了意外相应:(413) Request Entity Too
Large修改客户端配置maxReceivedMessageSize="2147483647" 并在服务端修改webconfig,加入binding节...
分类:
其他好文 时间:
2014-05-26 23:10:58
阅读次数:
370
java中request,session,application的作用范围 page,request,session,application四者的作用范围:
page的作用范围是当前页面;对应El表达式的pageScope request的作用范围是页面与页面之间的传递就是请求请求结束则结束; 对....
分类:
Web程序 时间:
2014-05-23 05:51:40
阅读次数:
322
在JavaWeb中使用HttpSession(以下简称session)对象来表示一个会话。正在装载数据……Session的创建(代表会话周期的开始):第一次调用request.getSession()方法时,会创建一个session对象。Session的销毁(代表会话周期的结束):在某个请求周期内调...
分类:
其他好文 时间:
2014-05-23 05:35:28
阅读次数:
202
///
/// 判断手机用户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
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
接着上次的讲,这次我们讲 网络请求的封装
打开创建的项目,让我们一起来继续完成他,上次我们说到GET请求地址的拼接;我们接着昨天的继续完善;下边我们要定义的是block//定义block__block
ASIFormDataRequest *request=[ASIFormDataRequest r...
分类:
移动开发 时间:
2014-05-21 17:49:48
阅读次数:
434
最近移植uip1.0到stm32上,能udp收发数据,但是ping不通。感觉到很奇怪。以前移植的0.9都能ping通。
由于通过抓包分析。发现icmp echo reply返回的校验值为incorrect。如下图:
ping request
ping reply:
较uip 1.0和uip 0.9移植比较。在uip-conf.h里...
分类:
其他好文 时间:
2014-05-21 14:45:33
阅读次数:
658
1,普通的DELETE只需加上下述一句code:
[request setRequestMethod:@"DELETE"];2,附带有参数表单的情况(一次删除请求):
ASIFormDataRequest *request;
NSURL *baseURL = [NSURL URLWithString:@"http://www.baidu.com/xx/"];
reque...
分类:
移动开发 时间:
2014-05-21 14:39:37
阅读次数:
321