943,095 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 1145
  • Java RSS
Feb 2nd, 2010
0

Accesing text file from server to use in Java applet

Expand Post »
I have a website that i have uploaded an applet to. In the same dir as the applet, I have uploaded three textfiles that the program uses. The applet works perfectly in the appletviewer runing off of my computer, but when i upload the class online it seems that the program cannot acess the text files. The functions of the program work fine, except for the part where it reads the text file. I have heard of policy files, but I havent been able to find out how to implement them into my applet or webpage. Any help would be much appreciated!
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
david cashin is offline Offline
11 posts
since Mar 2008
Feb 3rd, 2010
0
Re: Accesing text file from server to use in Java applet
>Accesing text file from server to use in Java applet

The java.net package provides basic functionality for accessing resources via HTTP.
Moderator
Reputation Points: 2134
Solved Threads: 1227
Posting Genius
adatapost is offline Offline
6,524 posts
since Oct 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: if statement in java
Next Thread in Java Forum Timeline: Help with this program





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC