473,385 Members | 1,901 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

how to take current dollar rate from a webpage.

hello ,
i need help in geting the current dollar rate from a web page
to a program i'm working on in java
can anyone help me with this???

thanks.
Jan 1 '08 #1
4 2343
Dököll
2,364 Expert 2GB
hello ,
i need help in geting the current dollar rate from a web page
to a program i'm working on in java
can anyone help me with this???

thanks.
Stay tuned my friend, just passing in hopes to make sure your post is seen:-)

Good luck!

Dököll
Jan 5 '08 #2
chaarmann
785 Expert 512MB
hello ,
i need help in geting the current dollar rate from a web page
to a program i'm working on in java
can anyone help me with this???

thanks.
Just do what a browser is doing: read the web page as text into a String.
But instead of displaying, search inside the string for the dollar rate and extract that substring.

To read a webpage as String, you can use methods of class HttpURLConnection
Jan 5 '08 #3
thanks ,
I will rty and let you know
what up...
Jan 5 '08 #4
BigDaddyLH
1,216 Expert 1GB
I just posted this in another thread, but it applies as well to you. To paraphrase:
I bet, if you look around, you will find an appropriate web service. If you don't know about WS, once you do a little swotting, you'll see they're easier to interact with and more reliable that web page scraping.
Jan 5 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: wonder | last post by:
Hi, How can I pass the url of the current webpage link to a python script in html? thanks sam
0
by: wonder | last post by:
Dan Greenblatt wrote: > wonder wrote: > >> Hi, >> >> How can I pass the url of the current webpage link to a python script in html? >> >> thanks
3
by: LC | last post by:
Hi, I would like to know how I can save my current ASP page to the server side in html file format. Then I would like to stream it back to the client side. Any help is very much...
2
by: LC | last post by:
Hi, Many Weeks ago I posted this: I would like to know how I can save my current ASP page to the server side in html file format. I got a very nice reply back from Scott McNair. Thank you...
2
by: Iain Toft | last post by:
I'm having problems displaying the ? euro dollar sign in XML produced from an XSL transform. SQL Server 2000 is used to produce XML (SELECT .. FOR XML) from a database table containing data. The...
5
by: Erwin Kloibhofer | last post by:
what if i have a webpage that displays the text "please wait, this may take a few seconds..." and it now waits until some event on the server happens. whatever this is, this can be quick, but it...
0
by: simchajoy2000 | last post by:
Hi, I have a series of flash movies imbedded in my webpage and for users who use dial-up, these movies obviously open up at a different rate. However, this not only makes the webpage look very...
2
by: SergioQ | last post by:
Hi all, am trying to show a dollar figure on my webpage, but defining this for the cents value: font-size: 80%; vertical-align: super; just isn't cutting it! Is there a way to reduce the...
6
by: titan.nyquist | last post by:
The WebBrowser control won't load a css file written in the same directory as the program. If I put an absolute path to it, it will load it. Thus, the current directory of the WebBrowser control...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.