• Post Reply Bookmark Topic Watch Topic
  • New Topic

use JSlider (SWING)  RSS feed

 
Peter Tilm
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, not in JSP/Servlet, they "write" HTML.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!