probalby quite a dummy question, but that is not the area I work with usually...
I have html page "start.html" there is form which calls a serverlet via a post request. This servlet (JSP) is action.java there I have:
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
{
//please show a message that I am working
// here is some code which takes some time
response.sendRedirect(http://result.html);
}
So I do some processing then I show a page result.html. This all works fine, the problem is that upon pressing the send button in start.html I only see this little spinning wheel in IE that the system is processing and then I get the result. Most people probably would miss that little indicator. I would like to have an intermediate page or something with a progress bar, spinning wheel or even only a message "please be patient". As simple as possible. How can I achieve this?
Thanks!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…