欢迎大家讨论:可不可以这样在web上实现工作流
vive 2002-07-22 01:01:59 代码里面我是这样写的:
forward("/servlet/HelloWorldServlet");
for (int i=0;i<3;i++){
showAndWait("Hello,world <u>"+i+"</u> time");
showAndWait("Hello,China <u>"+i+"</u> time");
showAndWait("Hello,Hangzhou <u>"+i+"</u> time");
}
可以访问http://en.photoisland.com.cn/servlet/ControlFlowServlet?cf=com.vive.CFTest这个例子看一下效果。按f5刷新,就会执行下一步,比如第一次访问就会看到Hello,world,刷新一下就看到Hello,world 0 time,然后看到Hello,China 0 time,再刷新看到Hello,Hangzhou 0 time,如此等等