public void execute(HttpServletRequest request, HttpServletResponse response)
       throws IOException, ServletException {

[.....]

[When you end the server tasks, ]

String redirectString = request.getContextPath() + "/some/path/to/finished.jsp";
response.sendRedirect(response.encodeURL(redirectString));

}


In that finished.jsp file:

<body onload="top.document.getElementByID('id_of_submit_button').enabled='true'" >

JS code need to be checked by yourself, I just write it fast :)


password password escribió:

What event see that the servlet has finished in javascript or html?

can you send me an example?



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to