I think the official documentation gives you
the answer to this one (albeit in a fairly nonspecific way):This method is the
dynamic equivalent of the ...
分类:
其他好文 时间:
2014-05-14 03:31:06
阅读次数:
223
//导出到word
public void exportWord(ActionMapping actionMapping, ActionForm actionForm,
HttpServletRequest request, HttpServletResponse response) throws Exception {
DBTool tool = null ;...
分类:
编程语言 时间:
2014-05-13 23:57:53
阅读次数:
509
FileSystemObject组件应该实例
read="michael.txt"
'获取文件真实路径
read=LEFT(Server.MapPath(Request.ServerVariables("PATH_INFO")),InstrRev(Server.MapPath(Request.ServerVariables("PATH_INF...
分类:
其他好文 时间:
2014-05-13 07:17:51
阅读次数:
283
JavaScript实现弹窗报错
1、具体错误如下
SCRIPT 5022:cannot call methods on dialog prior to initialization;
attempted to call method 'open'.
2、错误原因
3、解决办法...
分类:
编程语言 时间:
2014-05-13 07:01:27
阅读次数:
463
HTTP请求中,如果是get请求,那么表单参数以name=value&name1=value1的形式附到url的后面,如果是post请求,那么表单参数是在请求体中,也是以name=value&name1=value1的形式在请求体中。通过chrome的开发者工具可以看到如下(这里是可读的形式,不是真正的HTTP请求协议的请求格式):
get请求:
RequestURL:http://127....
分类:
其他好文 时间:
2014-05-13 05:59:56
阅读次数:
353
一、简介MSM(memcached-session-manager)支持tomcat6和tomcat7,利用Value(Tomcat阀对Request进行跟踪。Request请求到来时,从memcached加载session,Request请求结束时,将tomcatsession更新至memcached,以达到session共享之目的,支持sticky和non-sticky模式。Sticky模式:..
分类:
其他好文 时间:
2014-05-13 05:04:23
阅读次数:
517
1.doGet和doPost的区别,在什么时候调用,为什么有时doPost中套用doGet2.提交的formmethod=Post就执行DOPOST,否则执行GOGET
套用是不管method是post还是get都执行dopost方法3.get:你可以通过URL传参数。http://www.csdn...
分类:
其他好文 时间:
2014-05-12 20:42:32
阅读次数:
323
项目中一直出现400错误,后面搜索下,发现如下内容。SpringMVC报错信息为The request
sent by the client was syntactically incorrect
()在数据绑定的时候一定要主意Controller方法中的参数名和jsp页面里的参数名字是否一致或者按...
分类:
其他好文 时间:
2014-05-12 19:34:51
阅读次数:
221
public class ThreadTest implements Callable {
public String call() throws Exception {
// TODO Auto-generated method stub
wait(10000);
return "hello";
}
}调用代码:
public static void main(Stri...
分类:
编程语言 时间:
2014-05-11 21:27:24
阅读次数:
533
package com.ctl.util;
import java.io.IOException;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.sql.Connection;
impo...
分类:
数据库 时间:
2014-05-11 21:04:49
阅读次数:
501