request处理:Breakpoint 6, SQUID_MD5Final ( digest=0x764d00 "\021dZcaFe\270\273a\020,\304j\222\347\227\372\364\206%B\245#\203\352\275It\357\266\343\00...
分类:
其他好文 时间:
2014-07-07 12:15:47
阅读次数:
223
原文:解决IIS7运行ASP提示错误:An error occurred on the server when processing the URL. Please contact the system administrator 在WINDOWS7或SERVER2008上安装了IIS7,调试...
分类:
Web程序 时间:
2014-07-07 11:35:36
阅读次数:
250
Servlet中的页面跳转?两种方式,实现跳转:内部跳转(请求转发)、外部跳转(重定向)内部跳转(请求转发)特点:在服务器内部完成页面之间的跳转;请求只有一次;浏览器地址不会改变。request.getRequestDispatcher(“路径”).forward(reuqest,response)...
分类:
Web程序 时间:
2014-07-07 11:20:46
阅读次数:
191
(1)、request.getRealPath("/");//不推荐使用获取工程的根路径 (2)、request.getRealPath(request.getRequestURI());//获取jsp的路径,这个方法比较好用,可以直接在servlet和jsp中使用 (3)、request...
分类:
编程语言 时间:
2014-07-03 23:02:33
阅读次数:
236
上一篇介绍了Volley的使用,主要接触了Request与RequestQueue这两个类,这篇就来了解一下这两个类的具体实现。Request类图:Request类: Request是一个抽象类,其中的主要属性:mMethod: 请求方法,目前支持GET, POST, PUT, DELETE, HE...
分类:
移动开发 时间:
2014-07-03 18:52:31
阅读次数:
357
controller def uploadss @attachment = Attachment.new(:file => request.raw_post) @attachment.author = User.current @attachment.filename = params[:filen...
分类:
其他好文 时间:
2014-07-03 12:38:19
阅读次数:
169
原文:C#操作符??和?:先看如下代码:string strParam = Request.Params["param"];if ( strParam== null ){ strParam= "";}string strParam= Request.Params["param"] == null ?...
分类:
其他好文 时间:
2014-07-02 20:25:21
阅读次数:
205
//定义下载保存的文件名称StringBuffer zipName = new StringBuffer(11111.zip);//从前台接到一个图片id的数组String[] images=request.getParameterValues(imgId); System.ou...
分类:
编程语言 时间:
2014-07-02 19:30:32
阅读次数:
197
@RequestMapping(value = "/update.action", method = RequestMethod.POST) public @ResponseBody Result update(HttpServletRequest request,@RequestParam(val...
分类:
其他好文 时间:
2014-07-02 17:45:14
阅读次数:
162
---------------------在jsp页面中加入----------------------
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+pat...
分类:
其他好文 时间:
2014-07-02 11:45:32
阅读次数:
230