0

I can can use a BufferedReader to open a Streamat the command line, like this:

BufferedReader br = new BufferedReader(new InpuStreamReader(URL.openStream()));

Once I try to use this same statement inside of my applet, I get an AccessControlException. I know it's something to do with security, but how do you get around that?

2
Contributors
1
Reply
2
Views
13 Years
Discussion Span
Last Post by Phaelax
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.