Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

use JSlider (SWING)

 
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
Pie
Posts: 65229
95
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic