码迷,mamicode.com
首页 >  
搜索关键字:wget 400 bad request    ( 28733个结果
yum 安装redis
今天学习redis时,用yum直接安装redis直接报错,后来百度一下得到一下解决方案。1:去下面的网站下载EPEL对应的版本:(epel是fedora维护的yum源,里面软件众多)http://fedoraproject.org/wiki/EPEL2:我下载的是这个:wget http://dl....
分类:其他好文   时间:2014-05-12 11:32:42    阅读次数:365
Struts2.x jsp页面无法使用jsp:forward跳转到action
问题:使用语句无法跳转到test所对应的action。 解决办法:在web.xml中 添加 struts2 /* REQUEST FORWARD 原因:在jsp中添加了REQUEST,FORWARD,INCLUDE和ERROR四个级别,用来设定每个filter-...
分类:Web程序   时间:2014-05-12 02:03:23    阅读次数:255
网页小记录
两个页面之间传递中文参数,编码:StringstrPtname=request.getParameter("ptname");strPtname=newString(strPtname.getBytes("ISO-8859-1"),"UTF-8");
分类:Web程序   时间:2014-05-11 04:34:22    阅读次数:306
Entity中Lazy Load的属性序列化JSON时报错
The server encountered an internal error that prevented it from fulfilling this request.org.springframework.http.converter.HttpMessageNotWritableExcep...
分类:Web程序   时间:2014-05-11 04:32:24    阅读次数:1292
Spark0.9 安装
1、下载Scala     wget  http://www.scala-lang.org/files/archive/scala-2.10.3.tgz    tar xvzf scala-2.10.3.tgz -C /usr/local 2、下载Spark    wget http://www.apache.org/dist/incubator/spark/spark-0.9.0-inc...
分类:其他好文   时间:2014-05-11 02:06:21    阅读次数:368
request.getParameterValues与request.getParameter的区别
一、 简单的对比request.getParameter用的比较多,相对熟悉request.getParameterValues(String name)是获得如checkbox类(名字相同,但值有多个)的数据。 接收数组变量 ,如checkobx类型request.getParameter(Str...
分类:其他好文   时间:2014-05-10 23:44:41    阅读次数:519
《Effective C++》内存管理
如果global new-hander没有成功配置,会抛出一个std::bad_alloc的exception。#include#include#includeusing namespace std;templateclass NewHandlerSupport{public: static ...
分类:编程语言   时间:2014-05-10 08:24:08    阅读次数:456
ajax
ajax是js与后台的交互XMLHttpRequest对象在前台是看不到刷新效果的
分类:其他好文   时间:2014-05-10 06:49:58    阅读次数:275
Bad version number in .class file
---恢复内容开始---MyEclipse启动tomcat出现Bad version number in .class file此错误时,可以用如下方法解决:找到MyEclipse的菜单,找到Window->Preferences,然后如下图操作,Add添加jdk安装的目录,并选择jre6为默认的环...
分类:其他好文   时间:2014-05-10 06:29:04    阅读次数:311
案例:如何实现网上考试?
下面就是满足你设想的几个主程序,你还可以在实际应用中不断完善和扩充: login.asp  ' 考生验证    name=trim(request("name"))  passwd=trim(request("passwd"))  if name"" then  ' 检查考生是否输入用户名和密码  Set conn = Server.CreateObject("ADODB.Co...
分类:其他好文   时间:2014-05-10 04:25:30    阅读次数:276
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!