This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "use JSlider (SWING)" Watch "use JSlider (SWING)" New topic
Author

use JSlider (SWING)

Peter Tilm
Greenhorn

Joined: Jun 10, 2003
Posts: 7
Hello,
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: 1049
No, not in JSP/Servlet, they "write" HTML.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60773
    
  65

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.
hth,
bear


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: use JSlider (SWING)
 
Similar Threads
good desktop application architecture with JSR-295 beansbinding?
Which Swing component to use ?
slider API in swings
Is there a horizontal slider?
simple slider question