>>> Steve Buonincontri <[EMAIL PROTECTED]> 03-Jan-00
3:22:20 PM >>>
Hi Steve
>Questions:
Answers:
>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?
The browser repaints the page after nearlly every request, the only
server response (that I am aware of) that doesn't cause a page repaint
is NOT_MODIFIED.
>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.
tricky...
This is not really a problem with servlets... it's a general web
architecture thing. The web is designed around batch dispatch of
interaction data (eg: forms) not live update (like you might have in
an old client-server type app).
It sounds to me like you should redesign your system to take heed of
this.
>3) What is the best way to invoke servlets in the backround
>and have the most interactive front end as possible?
This is really not how servlets are used. But you could use an applet
on the web page to talk to a servlet (or any other kind of server type
thing, eg: CORBA) and that would give you a little more
flexibility....
But as I say, usually when people ask these questions (IMHO) it's
because they've got the design wrong, change the design to fit in with
web architecture and everything gets better.
Nic
___________________________________________________________________________
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