brent_watson
asked on
List files from server in Applets JTable
Hi Everybody,
Help on how to do the following would be very much appreciated. Thanks in advance!…
1. I have a java *applet*, which contains a JTable. I would like this JTable to display a list of files from the server that is hosting the java applet (Files from a single particular directory). I just want to know if you can get a list of *server* files from an applet, I don't really need the code to create the JTable, display these, etc.
2. When a user selects one of the files from the above-mentioned JTable, I would like a 'download' button. Can anyone provide code that lets you download a file from an applet to the users PC? (Preferably without having to ask the user where they want this saved each time).
Thanks again!
Help on how to do the following would be very much appreciated. Thanks in advance!…
1. I have a java *applet*, which contains a JTable. I would like this JTable to display a list of files from the server that is hosting the java applet (Files from a single particular directory). I just want to know if you can get a list of *server* files from an applet, I don't really need the code to create the JTable, display these, etc.
2. When a user selects one of the files from the above-mentioned JTable, I would like a 'download' button. Can anyone provide code that lets you download a file from an applet to the users PC? (Preferably without having to ask the user where they want this saved each time).
Thanks again!
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Communicating with a Web Server thru java
http://www.wutka.com/hackingjava/ch6.htm
http://www.wutka.com/hackingjava/ch6.htm
ASKER
Any help on the other 1/2 of my issue? ie - Downloading a file from the server from an applet.
Thanks.