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?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.