Hi folks,
I have a html front end with a checkbox on it. I have set up some javascript so
that when the checkbox is clicked, I post to a servlet by submitting a form. The
Servlet response object sends a res.SC_NO_CONTENT back to the browser -(SO THAT
THE INITIAL PAGE IS NOT REPAINTED and the checkbox is not cleared????) . This
works, but the checkbox performance is bad - probably because it is waiting for
a response from the servlet before the user gets control back with the mouse
pointer.
Questions:
1) Why does the server repaint the intial html window, even with a dummy html
page when a post to a servlet does not respond with IO?
2) Is there an alternative to doing a res.SC_NO_CONTENT so the the user can
interact with the browser faster and the checkbox gets clicked and appears as
though a java thread has been invoked?
That is, I want to click, click, click, click on the check boxes and have
servlets do there thing without hangin up the client html front end.
3) What is the best way to invoke servlets in the backround and have the most
interactive front end as possible?
- steveb
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html