السلام عليكــم ورحمـة الله وبركاتــه
حاولت دمج هذا البرنامج فى صفحة
html
و هو يقرأ البيانات من ملف نصى اسمه
price.txt
ولكن للاسف
تظهر هذه الرسالة
فى ال
java Console
Java Plug-in 1.6.0_13 Using JRE version 1.6.0_13 Java HotSpot(TM) Client VM User home directory = C:\Documents and Settings\Mr Sameh ---------------------------------------------------- c: clear console window f: finalize objects on finalization queue g: garbage collect h: display this help message l: dump classloader list m: print memory usage o: trigger logging q: hide console r: reload policy configuration s: dump system and deployment properties t: dump thread list v: dump thread stack x: clear classloader cache 0-5: set trace level to <n> ---------------------------------------------------- java.security.AccessControlException: access denied (java.io.FilePermission price.txt read) at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at java.lang.SecurityManager.checkRead(Unknown Source) at java.io.FileInputStream.<init>(Unknown Source) at java.io.FileInputStream.<init>(Unknown Source) at java.io.FileReader.<init>(Unknown Source) at ItemPrice.getRowCount(ItemPrice.java:64) at ItemPrice.GetItemsNames(ItemPrice.java:20) at Form1.<init>(Form1.java:62) at MyApplet.init(MyApplet.java:15) at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Exception: java.security.AccessControlException: access denied (java.io.FilePermission price.txt read)
المثال فى المرفقات
وشكرا و جزاكم الله كل خير

