• Post Reply Bookmark Topic Watch Topic
  • New Topic

how can i run a swing program from a servlet?  RSS feed

 
saikrishna cinux
Ranch Hand
Posts: 689
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

i want to invoke a swing program from a servlet at server system
for this i am using this code but it is not opening the swing application



i am placing this code in doPost() method
when i press the submit button in the form it must open this Test swing program automatically .

but it is not hapenning

any suggestions
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You would need to use either applets or webstart.

Your code, if it worked, would fire up the swing app on the server which would be completely useless to someone sitting, miles away, at a the client machine.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!