Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

open a webpage from a java application

 
glen li
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,

How can I open a webpage from an application by clicking a button using whatever browser user have ? Thanks!

glen
 
Marilyn de Queiroz
Sheriff
Posts: 9064
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What if you have the button do a doGet on the web page when you click the button
 
glen li
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Marilyn, I am still confused about the 'doGet' you mentioned. I know from an applet, I can use 'showDocument()' on an URL object to show a webpage, is there any similar way for an application or is this forbidden due to security reason? Could you give a little more detail? Thanks!

-glen
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic