This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

open a webpage from a java application

 
glen li
Greenhorn
Posts: 19
  • 0
  • 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: 9059
12
  • 0
  • 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
  • 0
  • 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