• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

SWT in JSP

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hai guys,
i'am new to this group. can any buddy tell me that is it possible to use the SWT TreeViewer in JSP pages.
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you are talking screen widgets, then a jsp or asp or html doesn't make a difference, since they run on the server and only html are returned to the web browser.

So you're choices are using SWT in a java applet, or using javascript. I can't think of a way to use javascript, so I guess your choice is applet.
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The truly simple answer is no. SWT is a desktop GUI API and, as was stated, JSP's are a server side technology. There are plenty of Javascript solutions for displayed trees on web pages if you google for it.

As far as the SWT in an Applet goes, I wouldn't hold your breath. Using Java WebStart it would be possible though.
reply
    Bookmark Topic Watch Topic
  • New Topic