Hi to all.

Before, accessing file in my JAVA program works but when I put the codes in
a servlet a FileNotFoundException prompts me. I'm using JSDK 2.1 in testing
the servlet.

Here's the code:

                byte[] MyKey = null;
                try{
                        FileInputStream solkey = new
FileInputStream("MyFile");
                        MyKey = new byte[solkey.available()];


Because I'm new in the technology, can anyone suggest any tool in developing
servlets (right now I'm just using notepad as my editor.)

Any suggestions/comments are welcome. Thank you in advance for your help.

Good day.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to