servlet 返回到flex问题···
servlet 端
if(panchaItem.size()!=0 || whList.size()!=0 || item.size()!=0){ request.getRequestDispatcher("/exportTemplate/pcBGHJB.jsp").forward( request, response);}else{ out.write(str); /***** 我要在这里返回到 页面 弹出提示框 *******/ } } out.flush();out.close();
var request:URLRequest = new URLRequest(); request.url="/asset/servlet/OutComputerBookServlet"; request.data=sendData; request.method=URLRequestMethod.GET; navigateToURL(request,"_self");