|
web_submit_data("lrpd.jsp",
"Action=http://192.168.103.170:7001/tms2006/gl_jsps/gl_pz/gl_pzlr/lrpd.jsp",
"Method=POST",
"RecContentType=text/html",
"Referer=http://192.168.103.170:7001/tms2006/gl_jsps/gl_pz/gl_pzlr/pagequery.jsp",
"Snapshot=t12.inf",
"Mode=HTML",
ITEMDATA,
"Name=zzsj", "Value=2006-04-07", ENDITEM,
"Name=kjqj", "Value=4", ENDITEM,
"Name=lsh", "Value=", ENDITEM,
"Name=pzz", "Value=1", ENDITEM,
"Name=pzh", "Value=", ENDITEM,
"Name=fjs", "Value=2", ENDITEM,
"Name=xmldata", "Value=<dataroot>\r\n\t<datarow zy=\"sdd\" km=\"100101--南电\" kmdm=\"100101\" jf=\"\" df=\"1.00\" jsfs=\"\" jsdh=\"\" cbzx=\"南京电信市场部\" bb=\"\" hl=\"\" wbje=\"\" xjlldh=\"支付给职工以及为职工支付的现金\" xmbh=\"\" xmmc=\"\" fylx=\"\" tzzt=\"\" htbh=\"\" zflx=\"\" wzph=\"\" hth=\"\" fph=\"\" jbr=\"\" fprq=\"\" yjqlrq=\"\" fkfs=\"\" glf=\"\" gljrnr=\"\" zgf=\"\" dxlb=\"\" tddx=\"\" c=\"127,0,0\" hh=\"1\" cbzx2=\"0101\" bb2=\"\" xjlldh2=\"112\" tddx2=\"\" fyxz=\"\" yhdh=\"\" "
"xmbh2=\"\" tdbj=\"\" ly_zj=\"\" hzzt=\"\"/>\r\n\t<datarow zy=\"sdd\" km=\"1002050102--01/XZ/GH/02(溧0890)\" kmdm=\"1002050102\" jf=\"1.00\" df=\"\" jsfs=\"\" jsdh=\"\" cbzx=\"\" bb=\"\" hl=\"\" wbje=\"\" xjlldh=\"\" xmbh=\"\" xmmc=\"\" fylx=\"\" tzzt=\"\" htbh=\"\" zflx=\"\" wzph=\"\" hth=\"\" fph=\"\" jbr=\"\" fprq=\"\" yjqlrq=\"\" fkfs=\"\" glf=\"\" gljrnr=\"\" zgf=\"\" dxlb=\"\" tddx=\"\" c=\"110,0,0\" hh=\"2\" cbzx2=\"\" bb2=\"\" xjlldh2=\"\" tddx2=\"\" fyxz=\"\" yhdh=\"\" xmbh2=\"\" tdbj=\"\""
" ly_zj=\"\" hzzt=\"\"/>\r\n\t<datarow zy=\"\" km=\"\" kmdm=\"\" jf=\"\" df=\"\" jsfs=\"\" jsdh=\"\" cbzx=\"\" bb=\"\" hl=\"\" wbje=\"\" xjlldh=\"\" xmbh=\"\" xmmc=\"\" fylx=\"\" tzzt=\"\" htbh=\"\" zflx=\"\" wzph=\"\" hth=\"\" fph=\"\" jbr=\"\" fprq=\"\" yjqlrq=\"\" fkfs=\"\" glf=\"\" gljrnr=\"\" zgf=\"\" dxlb=\"\" tddx=\"\" c=\"\" hh=\"3\" cbzx2=\"\" bb2=\"\" xjlldh2=\"\" tddx2=\"\" fyxz=\"\" yhdh=\"\" xmbh2=\"\" tdbj=\"\" ly_zj=\"\" hzzt=\"\"/></dataroot>", ENDITEM,
"Name=userid", "Value=wr", ENDITEM,
"Name=dwbm", "Value=32", ENDITEM,
"Name=dwdm", "Value=32", ENDITEM,
"Name=bm", "Value=32_01", ENDITEM,
"Name=pzid", "Value=20060322171150wr", ENDITEM,
LAST);
这是我截取的一段代码。
其中以下代码:
"Name=xmldata", "Value=<dataroot>\r\n\t<datarow zy=\"sdd\" km=\"100101--南电\" kmdm=\"100101\" jf=\"\" df=\"1.00\" jsfs=\"\" jsdh=\"\" cbzx=\"南京电信市场部\" bb=\"\" hl=\"\" wbje=\"\" xjlldh=\"支付给职工以及为职工支付的现金\" xmbh=\"\" xmmc=\"\" fylx=\"\" tzzt=\"\" htbh=\"\" zflx=\"\" wzph=\"\" hth=\"\" fph=\"\" jbr=\"\" fprq=\"\" yjqlrq=\"\" fkfs=\"\" glf=\"\" gljrnr=\"\" zgf=\"\" dxlb=\"\" tddx=\"\" c=\"127,0,0\" hh=\"1\" cbzx2=\"0101\" bb2=\"\" xjlldh2=\"112\" tddx2=\"\" fyxz=\"\" yhdh=\"\" "
"xmbh2=\"\" tdbj=\"\" ly_zj=\"\" hzzt=\"\"/>\r\n\t<datarow zy=\"sdd\" km=\"1002050102--01/XZ/GH/02(溧0890)\" kmdm=\"1002050102\" jf=\"1.00\" df=\"\" jsfs=\"\" jsdh=\"\" cbzx=\"\" bb=\"\" hl=\"\" wbje=\"\" xjlldh=\"\" xmbh=\"\" xmmc=\"\" fylx=\"\" tzzt=\"\" htbh=\"\" zflx=\"\" wzph=\"\" hth=\"\" fph=\"\" jbr=\"\" fprq=\"\" yjqlrq=\"\" fkfs=\"\" glf=\"\" gljrnr=\"\" zgf=\"\" dxlb=\"\" tddx=\"\" c=\"110,0,0\" hh=\"2\" cbzx2=\"\" bb2=\"\" xjlldh2=\"\" tddx2=\"\" fyxz=\"\" yhdh=\"\" xmbh2=\"\" tdbj=\"\""
" ly_zj=\"\" hzzt=\"\"/>\r\n\t<datarow zy=\"\" km=\"\" kmdm=\"\" jf=\"\" df=\"\" jsfs=\"\" jsdh=\"\" cbzx=\"\" bb=\"\" hl=\"\" wbje=\"\" xjlldh=\"\" xmbh=\"\" xmmc=\"\" fylx=\"\" tzzt=\"\" htbh=\"\" zflx=\"\" wzph=\"\" hth=\"\" fph=\"\" jbr=\"\" fprq=\"\" yjqlrq=\"\" fkfs=\"\" glf=\"\" gljrnr=\"\" zgf=\"\" dxlb=\"\" tddx=\"\" c=\"\" hh=\"3\" cbzx2=\"\" bb2=\"\" xjlldh2=\"\" tddx2=\"\" fyxz=\"\" yhdh=\"\" xmbh2=\"\" tdbj=\"\" ly_zj=\"\" hzzt=\"\"/></dataroot>", ENDITEM,
这个中间有个变量在逐步递增,每递增一次,其他数据可以不变,只是那个变量改变。由于实际中间递增次数很多,所以不可能手工录入脚本。
不知道有什么办法可以取代?
VALUE的值是否可以用个函数代替?用DLL?还是其他什么办法,还望各位指教。
在线等待
[ 本帖最后由 断寒 于 2006-3-23 14:53 编辑 ] |
|