This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How applet can be used to browse for all files in a folder without refresing the page?

 
Pira Tomatsu
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm currently using an applet to browse for all files in a folder, but refreshing the page is still needed.

Is there an alternative process to browse for all files in a folder without refreshing the page?

Is there an alternative way to browse for all files in a folder, if I don't use an applet?

Thank you very much for your answer.

 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are the files/folders on the client or on the server? Either way, why is a page refresh necessary?
 
Pira Tomatsu
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic