File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes use JSlider (SWING) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "use JSlider (SWING)" Watch "use JSlider (SWING)" New topic

use JSlider (SWING)

Peter Tilm

Joined: Jun 10, 2003
Posts: 7
i'm rather new to JSP/Servlet. Is it possible to use SWING components like JSlider or progress bars in web-applications using JSP/Servlets?
thanks for advice
Chris Baron
Ranch Hand

Joined: Mar 21, 2003
Posts: 1061
No, not in JSP/Servlet, they "write" HTML.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63852

Hi Peter, Welcome to the Ranch!
As Chris pointed out, with JSP and Servlets, the Java component executes on the server in order to format whatever will be sent to the client. No Java executes on the client to control the interface. (For that, you're still stuck with applets).
Think of JSP as a dynamic templating language to create HTML pages.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: use JSlider (SWING)
jQuery in Action, 3rd edition