Y
yongqiang
Unregistered / Unconfirmed
GUEST, unregistred user!
我用JavaScript写了个循环,用于得到where语句,得到的语句是where (1=1) and to_char(RQ,'yyyy-mm-dd')>='2003-12-7' and to_char(RQ,'yyyy-dd-mm')<='2003-12-7'
然后用 window.location.href="main2.jsp?wheresql=" + whereSQL+ "&FieldSQL="+ FieldSQL + "&TableName=" + TableName + "&RQ=" + RQ;
但是我在Main2.jsp中用whereSQL = request.getParameter("whereSQL");得到的却是whereSQL = null;
为什么呀?
然后用 window.location.href="main2.jsp?wheresql=" + whereSQL+ "&FieldSQL="+ FieldSQL + "&TableName=" + TableName + "&RQ=" + RQ;
但是我在Main2.jsp中用whereSQL = request.getParameter("whereSQL");得到的却是whereSQL = null;
为什么呀?