Solved

Send URL to Browser from Java App.

Posted on 1997-03-11
1
308 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
Comment Utility
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

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…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
The viewer will learn how to implement Singleton Design Pattern in Java.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now