Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Read file on server  RSS feed

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).]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!