Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Read file on server

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am writting an Applet to read text file on a server.
and the Applet is on my PC.
To read on my local PC it's work.
But not on server.
How can I do this?
I set up security file on my PC

Command line to launch my applet :
appletviewer TEST.html
Content of mysecurity.txt save in D:\jdk1.3\jre\lib\security\:
grant codeBase "http://nameOfServer/file/-" {
permission "*", "accept, connect, listen, resolve";
I add to : D:\jdk1.3\jre\lib\security\ the line

[This message has been edited by ndjanda (edited November 10, 2000).]
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!