Remember, servlets are running on the server, not the browser. So something
like a slider (which might be done with some images and image maps) would
not be as immediate as they would as an applet. The form would have to be
submitted to the server each time the slider was moved and the page would
have to be re-built and transmitted back to the browser for each movement of
the slider. This is actually what applets are very good at. Since the
intermediate values are not of interest to the server, just the final
selection, there's no reason to go back and forth until the selection is
known. So you might want to use an applet on for the user interface control
and a servlet for the back end processing. You can probably even do it
without any direct Applet-Servlet communication, which would let you use
some other means of displaying on non applet enabled browsers.
(*Chris*)
----- Original Message -----
From: dave biggar <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 17, 1999 9:57 AM
Subject: How to implement a slider?
> There are applets which incorporate a " slider".
> An example is a Color Selector with 3 horizontal
> scrollbars and a slider to set RGB values.
>
> I want to write a servlet to duplicate the applet
> but I don't find the necessary HTML4 elements. I
> haven't yet got into servlet-applet communication
> but it appears I'll have to use servlet-applet. It may
> be that something can be done with Javascript but
> I don't want to get into Javascript.
>
> Would appreciate any comments re turning the
> applet into a servlet.
>
> Dave
>
>
___________________________________________________________________________
> 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
>
___________________________________________________________________________
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