码迷,mamicode.com
首页 >  
搜索关键字:assuming no response    ( 8505个结果
springmvc下载文件
可以跨域下载 /** * 音频下载 */ @RequestMapping("/audio/download") public void downloadFile(HttpServletRequest request, HttpServletResponse response) throws IOException { /...
分类:编程语言   时间:2014-11-27 12:46:03    阅读次数:141
使用AJAX.ScriptManager时注册脚本的方法
如果页面中不用Ajax,cs中运行某段js代码方式可以是:Page.ClientScript.RegisterStartupScript(Page.GetType(), "", "");如果页面中使用了Ajax ,则上述代码即使执行也无效果。如果页面中Response.Write(),Page.Re...
分类:Web程序   时间:2014-11-27 12:08:45    阅读次数:203
JavaWeb学习之转发和重定向、会话技术:cookie、session、验证码实例、URLConnection使用(下载网页)(4)
1、转发和重定向HttpServletResponse response转发: RequestDispatcher dispatcher = request.getRequestDispatcher("/secondServlet"); request.setAttribute("pwd...
分类:编程语言   时间:2014-11-27 09:07:41    阅读次数:215
【web安全】第五弹:burpsuite proxy模块的一些理解
作为一只小小小白的安全新手,只会简单的用sqlmap扫扫网站,用burpsuite的proxy模块拦截一些请求。最近又对proxy有点儿小理解,记录之。1. 查看sqlmap注入的语句以及HTTP request/response信息sqlmap是很好用的自动测试工具,但有时候想要查看请求具体的内容...
分类:Web程序   时间:2014-11-27 00:06:25    阅读次数:641
laravel中的HTTP异常和日志
HTTP异常App::abort('404','Page not found');App::abort('401','You are not authorized');App::missing(function($exception){ return Response::view('errors.....
分类:Web程序   时间:2014-11-26 18:35:10    阅读次数:196
Cookie
Request.Cookies 是客户端通过 Cookie 标头形式由客户端传输到服务器的 Cookie;Response.Cookies 在服务器上创建并以 Set-Cookie 标头的形式传输到客户端http://www.cnblogs.com/ranran/p/4123123.html
分类:其他好文   时间:2014-11-26 18:31:51    阅读次数:132
laravel下的cookie、session、缓存和提交信息处理
$value = Cookie::get('name');$response = Response::make('world');$response->withcookie(Cookie::make('name','value',$minutes));$cookie = Cookie::foreve...
分类:其他好文   时间:2014-11-26 18:11:44    阅读次数:334
Request.Cookies 和 Response.Cookies 的区别
.NET中提供了读写Cookie的多种方法,Request.Cookies 是客户端通过 Cookie 标头形式由客户端传输到服务器的 Cookie;Response.Cookies 在服务器上创建并以 Set-Cookie 标头的形式传输到客户端。也就是说,一个是客户端向服务器端发送的来的,一个是...
分类:其他好文   时间:2014-11-26 15:45:36    阅读次数:135
验证码 Demo
1 //设置响应头 2 response.setCharacterEncoding("image/jpeg"); 3 int width=160; 4 int height=40; 5 BufferedImage im...
分类:其他好文   时间:2014-11-26 13:55:06    阅读次数:192
ajax与后台通信 -- Response.End()
前台代码: var json = { width: w, height: h, category: canvas_category, name: canvas_json_name, description: canvas_description, border: canvas_border, lineWidth: defaultLineW,...
分类:Web程序   时间:2014-11-26 11:17:38    阅读次数:158
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!