Solved

Send URL to Browser from Java App.

Posted on 1997-03-11
1
310 Views
Last Modified: 2008-03-06
I'd like to send an URL from a Java application to a browser , either Navigator or IE. If the browser is running, it will visit the site specified automatically. Otherwise, the default browser should be activated to visit the site.

Is this possible ? If so, are there samples ?
0
Comment
Question by:vlue
1 Comment
 

Accepted Solution

by:
broza earned 50 total points
ID: 1218929
Netscape Navigator and IE have command line options that
enable an application to invoke them and cause them
to display a URL.

Netscape Navigator command line argument is:
  -h <URL>
You'll have to do some research about IE's command line options.

  Thats it, bye.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question