Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-23-2007, 10:08 PM
Member
 
Join Date: Jul 2007
Posts: 41
katie is on a distinguished road
how to open a file through URL
I need to display a web page by given URL.
Is it possible in java?? How can I do that?
can you help me?
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-07-2007, 12:49 AM
Member
 
Join Date: Jul 2007
Posts: 40
elizabeth is on a distinguished road
Yes. You could use JEditorPane component.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 07-12-2008, 08:50 PM
Nicholas Jordan's Avatar
Senior Member
 
Join Date: Jun 2008
Location: Southwest
Posts: 783
Nicholas Jordan is on a distinguished road
html editor
There is a class that will display an html page with remarkable power, I can help you find it if you need. URL class is well documented and will do the network activity that is needed to get the html file from the remote.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.
Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 07-13-2008, 04:53 AM
Senior Member
 
Join Date: Jun 2007
Location: Bali, ID
Posts: 102
wsaryada is on a distinguished road
You can read the web page using java.net.URL class by passing the page URL address, then create an InputStream object to transfer its contents by opening the stream of the URL object.
__________________
Website:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- Blog:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
open a pdf file in linux aparna Advanced Java 4 09-28-2008 07:37 AM
Is it possible to open a txt file? jason27131 New To Java 20 08-07-2007 03:24 AM
Open Blue Lab 1.3.0 JavaBean Java Announcements 0 07-19-2007 05:37 PM
open lazlo Peter Advanced Java 2 07-04-2007 08:22 AM
Open Blue Lab 1.2.17 levent Java Announcements 0 06-07-2007 10:57 AM


All times are GMT +3. The time now is 11:37 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org