Are the files/folders on the client or on the server? Either way, why is a page refresh necessary?
Joined: Sep 01, 2009
The Files are on the client. Are there any ways to browse for all files in a folder,If I don't use applet?
The applet needs refresh for JSP to get the session which written by a servlet. Any advise for me? Am I doing these things properly?
Thank you for your answers.
Joined: Mar 22, 2005
Are there any ways to browse for all files in a folder, If I don't use applet?
HTML file uploads limits you to selecting a single file at a time, but you can have multiple file uploads at the same time. But you can't select folders.
The applet needs refresh for JSP to get the session which written by a servlet.
Do you mean that there is data in the server session that the applet needs to access after the page has (with the applet) has been rendered? If so, why can't the applet open an URLConnection to the server that returns that value? Refreshing the page seems unnecessary and disruptive.