473,322 Members | 1,510 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

I got error "java.util.PropertyPermission entityExpansionLimit read"

Hi,
I have been made a signed-applet that handling xml data from
web-server.
When I execute this applet with appletviewer, it works well.
And it is OK with Internet Explorer.
But when I opened this page with Netscape 7.0(OS is Windows XP sp1),
this applet throw exception when reading xml data from web server.

the error message is like this,
"Exception : java.security.AccessControlException: access
denied(java.util.PropertyPermission entityExpansionLimit read)"

why, this applet works well with IE, but not with Netscape?
Do you any clue?
Thanks in advance...
Jul 17 '05 #1
1 3317
hello,
I have this problem also with IE...
my code is:
URL u = new URL(getDocumentBase(), "codiciTour.php");
BufferedReader server = new BufferedReader(new
InputStreamReader(u.
openStream()));
String line = server.readLine();
//Mettiamo caso che sia giusto al primo colpo. */
// String line = "<?xml version='1.0'
encoding='iso-8859-1'?><root>pippo</root>";
System.out.print("\nStringa restituita dalla pag. php:\n " +
line + "\n");
try {
DocumentBuilderFactory dbFactory =
DocumentBuilderFactory.newInstance();
DocumentBuilder docBuilder = dbFactory.newDocumentBuilder();
Document xmldoc = docBuilder.parse(new InputSource(new
StringReader(line)));

what's the problem?
thanks a lot
bye
ri******@orgio.net (ParkPD) wrote in message news:<e6**************************@posting.google. com>...
Hi,
I have been made a signed-applet that handling xml data from
web-server.
When I execute this applet with appletviewer, it works well.
And it is OK with Internet Explorer.
But when I opened this page with Netscape 7.0(OS is Windows XP sp1),
this applet throw exception when reading xml data from web server.

the error message is like this,
"Exception : java.security.AccessControlException: access
denied(java.util.PropertyPermission entityExpansionLimit read)"

why, this applet works well with IE, but not with Netscape?
Do you any clue?
Thanks in advance...

Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Matt Bostock | last post by:
Hi, When I validate this page: http://www.drfunkenstein.net/using http://jigsaw.w3.org/css-validator/, I get the following results: ...
14
by: mlw | last post by:
Do not take anything about this, it is not a flame or troll, while I'm not new to Java I favor C++. However, I may need to use it in a contract position, and am concerned that the restrictions it...
5
blazedaces
by: blazedaces | last post by:
Ok, so you know my problem, java is running out of memory reading with SAX, the event-based xml parser intended more-so than DOM for extremely large files. I'll try to explain what I've been doing...
3
by: MDR | last post by:
Hi I'm seeking a code for a Standard Value Decomposition (SVD) of matrices and I found his one among others: http://www.ics.uci.edu/~arvo/code/SVD.C with the headers included. But I don't...
11
by: hamiltongreg | last post by:
I am new to Java and am having problems getting my program to compile correctly. My assignment is as follows; Choose a product that lends itself to an inventory (for example, products at your...
4
by: HaifaCarina | last post by:
here's the complete lines of errors.. Exception in thread "main" java.util.NoSuchElementException at java.util.StringTokenizer.nextToken(StringTokenizer.java:332) at...
49
by: aarklon | last post by:
Hi all, See:- http://www.cs.princeton.edu/introcs/faq/c2java.html for C vs Java in number crunching http://husnusensoy.blogspot.com/2006/06/c-vs-java-in-number-crunching.html
1
by: jimgym1989 | last post by:
I dont get it..why is the error: Exception in thread "main" java.util.InputMismatchException this is my code /** * @(#)textFileRead.java * * * @author * @version 1.00 2008/10/17 */
1
by: onlinegear | last post by:
HI i am writing this for college i know i have loads of combo boxes with nothing in the i havent got that far yet. but every time i run this is comes up with this erro run: Exception in thread...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.