Solved

Send URL to Browser from Java App.

Posted on 1997-03-11
1
312 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying 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
hibernate example using maven 12 106
Why doesn't this text field show up on my Applet frame? 2 43
Html split(text) 2 48
JVM error from eclipse 1 25
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Suggested Courses

739 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