|
碰到一个很奇怪的问题,我在做关联时,在还没把值替换成参数时是可以取到的,可替换后就取不到值了。
能取到值的脚本:
//建关联
web_reg_save_param("hisID",
"lb=<input type=\"checkbox\" name=\"hisID\" value=\"",
"rb=\">",
"ord=1",
"search=body",
LAST);
web_url("expertHisRecAction.do_2",
"URL=http://192.168.1.90:8080/Tender/expertHisRecAction.do?action=LIST&expertID=2",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.1.90:8080/Tender/cemain2.jsp",
"Snapshot=t498.inf",
"Mode=HTTP",
LAST);
……
web_url("编辑",
"URL=http://192.168.1.90:8080/Tender/expertHisRecAction.do?action=EDIT&expertID=2&hisID=79",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.1.90:8080/Tender/expertHisRecAction.do?action=LIST&expertID=2",
"Snapshot=t531.inf",
"Mode=HTTP",
LAST);
若把上面的地址"URL=http://192.168.1.90:8080/Tender/expertHisRecAction.do?action=EDIT&expertID=2&hisID=79",中的“79”用{hisID}代替就无法取到hisID值了,怎么会有这么奇怪的问题? |
|