vart="<%=request.getParameter("do")%>";
alert(t);
分类:
Web程序 时间:
2014-05-27 03:54:38
阅读次数:
209
cd /usr/src/wget
http://www.linuxvirtualserver.org/software/kernel-2.6/ipvsadm-1.24-6.src.rpmrpm
-ivh ipvsadm-1.24-6.src.rpm #会有Header V3 DSA signatur...
分类:
系统相关 时间:
2014-05-23 08:48:25
阅读次数:
323
首先看一段乱码的程序:
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
//0设置编码
request.setCharacterEncoding("UTF-8");
String u...
分类:
其他好文 时间:
2014-05-23 07:42:10
阅读次数:
227
1、您也可以使用一键自动部署环境的工具,请参见网友开发的这个工具http://www.centos.bz/2013/08/ezhttp-tutorial/2、安装:wget
-c http://lamp.phpstudy.net/phpstudy.binchmod +x phpstudy.bin #...
分类:
Web程序 时间:
2014-05-22 01:58:26
阅读次数:
361
我在编写一段pythn爬虫的时候遇到一个估计是编码的问题,可以怎么也解决不好。代码如下:#- * -
coding: UTF-8 -*-import urllib.requestimport rehtml =
urllib.request.urlopen("http://weibo.com/p/10...
分类:
编程语言 时间:
2014-05-22 00:59:35
阅读次数:
354
简单流程:Request 请求到来IIS 根据请求特征将处理权移交给
ASP.NETUrlRoutingModule将当前请求在 Route
Table中进行匹配UrlRoutingModule在RouteCollection中查找Request匹配的RouteHandler,默认是MvcRoute...
分类:
Web程序 时间:
2014-05-22 00:47:10
阅读次数:
408
MAC下没有wget工具,不习惯curl,使用起来还是很不方便的。下载了一个wget源码吧,编译安装。sudo curl -O
http://ftp.gnu.org/gnu/wget/wget-1.15.tar.gzsudo tar zxvf wget-1.15.tar.gzcd
wget-1.1....
分类:
其他好文 时间:
2014-05-21 23:41:11
阅读次数:
264
你能够依据调用次序来mock同一个办法:EasyMock.expect(request.getParameter("userName")).andReturn("trilogy").once();EasyMock.expect(request.getParameter("userName")).an...
分类:
其他好文 时间:
2014-05-21 22:17:46
阅读次数:
248
比如:其中的param属性
相当于value=""还要注意:如果javabean里面的属性(比如说edge属性)对应的类型是int,double或者其他类型,又因为request.getParameter("num")永远返回的是string类型
,那么param会自动类型转换, 不需手动转换.
分类:
Web程序 时间:
2014-05-21 21:46:09
阅读次数:
288
最近学习JAVA的WEB开发,遇到Request中相关的getParameter方法问题。在网上找了一下。自己整理,以备以后查用。getParameter得到的都是String类型的。或者是用于读取提交的表单中的值(http://a.jsp?id=123中的123),或者是某个表单提交过去的数据;g...
分类:
其他好文 时间:
2014-05-21 21:42:52
阅读次数:
202