EJB programming & troubleshooting: open/overwrite/delete a file from a jsp
- Posted by: michele fortarezza
- Posted on: February 17 2005 03:47 EST
I need to write a jsp from read files (only files name) from local disk and put those into a listbox.
After select one of those and open/overwrite/delete it.
everybody can help me???
thanks a lot
By 'local', do you mean on the client or the jsp server? If you mean the former, forget it, you can't do that. If you mean on the server, you can access files on the classpath as input streams using .class.getClass().getResourceAsStream
Thanks a lot!!! i will try now!