Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SWT in JSP

 
Rakesh Shimpi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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.
 
Tim Koop
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • 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.
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic