Priya Madhuri

Greenhorn
+ Follow
since Jan 18, 2001
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Priya Madhuri

I have tried with InputStreams also.
But it didn't work.
I will be grateful anybody help me in this program.
Thanks
-Priya
Let me explain you clearly.
I use the folling program to retrieve data(Text).
-------------------------------------
import java.net.*;
import java.io.*;
public class URLConnectionReader
{
public static void main(String args[])throws Exception
{
URL yahoo =new URL("http://www.yahoo.com/index.html");
URLConnection con=yahoo.openConnection();
BufferedReader br=new BufferedReader(new InputStreamReader(con.getInputStream()));
String line=null;
FileWriter fw=new FileWriter("File1.html");
while((line=br.readLine())!=null)
{
fw.write(line);
System.out.println(line);
}
br.close();
}

}
------------------------
But how can I retrieve for retrieving Images in the remote location?
-Priya
I am aware of retrieving data from a Remote Site.
But, I want to retreive an "Image" from a Remote Site.
How can it be done?
I need your help.
Can you please write here or send me through e-mail (priya_madhuri@usa.net), a sample program to retrieve "Image" from a remote Site.
Thank you
-Priya
I have cleared SCJP recently and looking forward for a good project.
I can provide the necessary assistence in the projects.
You may contact me at <priya-madhuri@usa.net>
-Priya
18 years ago
Dear friends,
With all of your help and Javaranch, I cleared SCJP
and secured 76%(I feel happy with this as I prepared One and Half month only).
I got 85% in Threads.
Thank you verymuch.
-Priya
/*
Dear Friends,
I am appearing for SCJP and want appear for it next month.
I request your help to solve this problem and make me understanding Threads concepts.
Please modify the below program and send it to me.
Email: priya-madhuri@usa.net
-Priya
//I REQUIRE THE RESULT LIKE BELOW (Each Name should print continously 5 times)
Name= George
Name= George
Name= George
Name= George
Name= George
Name= Peter
Name= Peter
Name= Peter
Name= Peter
Name= Peter
Name= John
Name= John
Name= John
Name= John
Name= John
/*
// GETTING RESULT LIKE BELOW(Names are getting printed randomly, eventhogh I used synchronous methods)
Name= George
Name= George
Name= George
Name= George
Name= John
Name= Peter
Name= George
Name= John
Name= Peter
Name= John
Name= Peter
Name= John
Name= Peter
Name= John
Name= Peter
*/
// PROGRAM STARTS

// PROGRAM ENDS

------------------
Priya
Hi, Please use [ code] [ /code] tags to format your code. Thanks.
[This message has been edited by Rahul Mahindrakar (edited January 18, 2001).]