LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   read file (Java) heellllpppp (https://www.linuxquestions.org/questions/programming-9/read-file-java-heellllpppp-178902/)

alaios 05-07-2004 08:00 AM

read file (Java) heellllpppp
 
Hi i am trying to read a file using tha Java.... The problem is that at runtime an security message appears....
I don;t know what to do ... and how i can prevent such a message.
I have en exercise for my school but it will now work until the file can be read... Just find me an easy way to check my exercise..... That's all
Ahh..how i can view class files... without an internet browser?

Hko 05-07-2004 08:18 AM

Re: read file (Java) heellllpppp
 
Quote:

Originally posted by alaios
Ahh..how i can view class files... without an internet browser?
Either with "java" for applications or "appletviewer" for applets (html-file needed for appletviewer).

aaa 05-07-2004 08:41 AM

Please elaborate. BTW, applets usually can't access files.

alaios 05-07-2004 09:01 AM

axa
 
I know it.....but i need to read it... I think that is possible for doing that... thhroug a viewer or something else

aaa 05-07-2004 09:23 AM

Applets can't access files at all. If you must access files, you need to sign your applet. Then it will work like a regualr application.
http://www.google.com/search?hl=en&i...=Google+Search


All times are GMT -5. The time now is 05:46 AM.