|
1. web_url("loadDoc.jsp",
"URL=http://{IP}:{Port}/xPressionRevise/html/loadDoc.jsp",
"Resource=0",
"RecContentType=text/html",
"Referer=http://{IP}:{Port}/xPressionRevise/html/edit.jsp?action=fullEdit&workItem={WorkItemID}&toc=true",
"Snapshot=t14.inf",
"Mode=HTML",
LAST);
2. web_url("wordEditor.jsp",
"URL=http://{IP}:{Port}/xPressionRevise/html/wordEditor.jsp",
"Resource=0",
"RecContentType=text/html",
"Referer=http://{IP}:{Port}/xPressionRevise/html/edit.jsp?action=fullEdit&workItem={WorkItemID}&toc=true",
"Snapshot=t15.inf",
"Mode=HTML",
EXTRARES,
"Url=ClientSupport//ServerFiles.xml", "Referer=", ENDITEM,
"Url=../tempFolders/{TempFolderID}/{TempFolderID}.dot", "Referer=", ENDITEM,
"Url=../tempFolders/{TempFolderID}/{TempFolderID}_filelist.xml", "Referer=", ENDITEM,
LAST);
在1操作中,loadDoc.jsp页面,启动了任务线程(页面在任务线程没有完成时,每8秒钟刷新一次页面
else {%>
//reload this after a time out
setTimeout("load()", 8000);
<%}%>
),
因此在进行操作2前,必须等待操作1完全成功才能发送wordEditor.jsp。
我现在不知道怎么办?我想改造一下操作1,如下
do {
web_url("loadDoc.jsp",
"URL=http://{IP}:{Port}/xPressionRevise/html/loadDoc.jsp",
"Resource=0",
"RecContentType=text/html",
"Referer=http://{IP}:{Port}/xPressionRevise/html/edit.jsp?action=fullEdit&workItem={WorkItemID}&toc=true",
"Snapshot=t14.inf",
"Mode=HTML",
LAST);
is_digit = web_find("Text Check",
"RightOf=Go to",
"LeftOf=page",
"What=Home",
LAST);
} while (is_digit=1);
好像不行。。。。。。。。。。。
不知大家有什么好的方法啊? |
|