我要实现的功能是,查询指定时间段内数据的信息,将查询的询信息显示在一个jsp页面中。
相关代码:
……
String strURL = "http://168.88.1.3:8888/querybyduration.jsp?ID=20100701&20100715" ;
Runtime.getRuntime().exec("cmd /c start " + strFile );IE可以下正常打开,可是地址栏上却是:http://168.88.1.3:8888/querybyduration.jsp?ID=20100701
后面的&20100715不见了,这是怎么回事儿呢???
相关代码:
……
String strURL = "http://168.88.1.3:8888/querybyduration.jsp?ID=20100701&20100715" ;
Runtime.getRuntime().exec("cmd /c start " + strFile );IE可以下正常打开,可是地址栏上却是:http://168.88.1.3:8888/querybyduration.jsp?ID=20100701
后面的&20100715不见了,这是怎么回事儿呢???
get方式提交的话就是 url="http://.......?name="+name+"&password="+password;然后再跳转的页面用
request.getParameter("name");
request.getParameter("password");
String strURL = "http://168.88.1.3:8888/querybyduration.jsp?ID=20100701\"&\"20100715" ;
Runtime.getRuntime().exec("cmd /c start " + strURL );