Solved

Send URL to Browser from Java App.

Posted on 1997-03-11
1
311 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
maven module vs maven project 3 72
ejb example issues 3 49
jmeter usage 4 33
Java List 4 33
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…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

740 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