Reading data from a FILE and Display in Applet
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   pradeep_kharvi
Posted On:   Sunday, June 3, 2001 11:01 PM

Hi
i have created a ticker applet,
the data which i wish to display in the applet is written in a seperate file named xyz.txt

now this xyz.txt file is created by a servlet running on the server using IO Streams ?


since the xyz.txt file is created by a java program its not readable by a Human.


so now how do i read the file and display the data in the Applet..


kindly suggest and an example will be helpful


Thanks
pradeepkharvi@hotmail.com

Re: Reading data from a FILE and Display in Applet

Posted By:   John_Zukowski  
Posted On:   Friday, June 8, 2001 11:26 AM

Reading from a file on the server is already covered in the FAQ. Just open a URL/URLConnection to the server's file.
About | Sitemap | Contact