• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Link to HTML File

 
Klaus Linzner
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
I' sorry to bother with this question, but I really have no idea hot to do this:
I wrote a Java Programm and for a kind of bug report I did a Website, where you can report bugs and place wishes.
But how can I link to the URL, that it'll be started in the Systems default Web browser?
Please help, thanks, Klausi
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Assuming you have a Java client that wants to open a browser on the same PC ... In Windows my favorite technique uses rundll32. Here's a class that does this and way too other many things with browsers in all operating systems:
http://ostermiller.org/utils/Browser.java.html
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to the Intermediate forum...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic