aspose file tools*
The moose likes Java in General and the fly likes Link to HTML File Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Link to HTML File" Watch "Link to HTML File" New topic
Author

Link to HTML File

Klaus Linzner
Greenhorn

Joined: Aug 22, 2003
Posts: 7
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

Joined: Jan 29, 2003
Posts: 8791
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


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Moving this to the Intermediate forum...


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
Consider Paul's rocket mass heater.
 
subject: Link to HTML File