Solved

Send URL to Browser from Java App.

Posted on 1997-03-11
1
309 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
mockito example issue 8 72
JList custom Cell Renderer refresh 15 57
Why my table column Id is not passed to java object? 4 39
eclipse apache tomcat admin console 52 97
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

777 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