Request :请求行 -- GET|POST /1.html http/1.1 //请求方式、页面请求头--accept:text/html,image/* //告诉服务器,客户机支持的文件格式accept-charset:utf-8 //客户机的采用的编码accept-enc...
分类:
其他好文 时间:
2014-08-13 17:50:26
阅读次数:
177
public static void DownLoadFile(HttpRequest _Request, HttpResponse _Response, string fileName, string fullPath) { FileInfo fileInfo = new...
分类:
其他好文 时间:
2014-08-13 17:45:06
阅读次数:
163
利用jQuery 解决URL请求参数有中文时出现乱码的问题在开发的时候经常会碰到URL中请求参数含有中文的情况,这时如果在前台不作处理,直接在后台利用request.getParameter()拿对应的参数值就会出现中文乱码。...
分类:
Web程序 时间:
2014-08-13 14:59:46
阅读次数:
190
Storm因机器断电等,启动supervisor错误因机器断电或其他异常导致的supervisor意外终止,再次启动时报错:2014-08-13 10:36:03 b.s.event [ERROR] Error when processing eventjava.lang.RuntimeExcept...
分类:
其他好文 时间:
2014-08-13 12:18:07
阅读次数:
184
这个配置用于SpringMVC跳转控制。 spring org.springframework.web.servlet.DispatcherServlet contextConfigLocation /WEB-INF/spring/spring-servlet.xml 1 ...
分类:
移动开发 时间:
2014-08-13 12:17:36
阅读次数:
184
在struts2的Action中,操作域对象一共有三种方式: 1.ActionContext(与servelt API无关联):1 //相当于request2 ActionContext.getContext().put("userName", user.getUserName());3 //相当于...
分类:
其他好文 时间:
2014-08-13 01:05:34
阅读次数:
219
1、Request对象 该对象封装了用户提交的信息,通过调用该对象相应的方法可以获取封装的信息,即使用该对象可以 获取用户提交的信息。 当Request对象获取客户提交的汉字字符时,会出现乱码问题,必须进行特殊处理。首先,将获取的 字符串用ISO-8859-1进行编码,并将编码存发岛一个...
分类:
Web程序 时间:
2014-08-13 00:48:44
阅读次数:
296
SpringMVC的controller层:
/**
* 查询得到财务信息报表
* @author liupeng
* @param request
* @return
* @throws UnknownHostException
* @throws ParseException
*/
@RequestMapping(value="/innerChartOutFo...
分类:
Web程序 时间:
2014-08-12 19:07:24
阅读次数:
295
Response.Write("客户端计算机名:" + Request.UserHostName + ""); Response.Write("客户端IP:" + Request.UserHostAddress + ""); Response.Write("浏览器:" + Request.Bro.....
分类:
Web程序 时间:
2014-08-12 18:37:34
阅读次数:
219
1、Intents and Intent Filters(意图和意图过滤器)
1.0、Intents and Intent Filters(意图和意图过滤器)
AnIntentis a messaging object you can use to request an action from an...
分类:
移动开发 时间:
2014-08-12 18:36:24
阅读次数:
422