my dog learned polymorphism*
The moose likes Java in General and the fly likes core java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "core java" Watch "core java" New topic
Author

core java

Navneet Pathak
Greenhorn

Joined: Apr 11, 2010
Posts: 5

please someone guide me how to call a url from java program? please its urgent...
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Navneet Pathak wrote:please someone guide me how to call a url from java program? please its urgent...

EaseUp. What do you mean by "calling a url" ? You might be interested by HttpComponents.


[My Blog]
All roads lead to JavaRanch
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38107
    
  22
webpage.

And please read this, too.
Navneet Pathak
Greenhorn

Joined: Apr 11, 2010
Posts: 5

actually i wanted to go to a specific webpage ...
eg: - www.javaranch.com

i have made two threads .... in one i want to call a webpage and in other i want to play a song ...



so suggest me how to do?

Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38107
    
  22
Forget about the threads and open the website. Forget about threads and play the song. Then put the two together with threads later.

What did it say in the Java™ Tutorials link I posted yesterday?
Navneet Pathak
Greenhorn

Joined: Apr 11, 2010
Posts: 5

although the program runs fine without any exceptions.. but the browser does not get opened and page is not displayed...

when i attempted to save the contents of the page in a file ... that's happened perfetly alright. but the page is not displayed on the browser.
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4523
    
    5

Desktop#browse(...)


luck, db
There are no new questions, but there may be new answers.
 
wood burning stoves
 
subject: core java
 
Similar Threads
How to get Yesterday's date
How to change jTable data by jButton event
interface vs abstract
stringpooling
Help me out with the simple calculator code Please!!!!