How would you create a custom file browser in JSP, listing the client's files and allowing them to select music files from their machine to play in our web based music player? How would you overcome Firefox and Chrome security restrictions?
-
We are trying to create a web based music client capable of playing a users local files, but with firefox security we are unable to play local files because the browser blocks access to them. We are also unable to get the clients "file tree" structure making it hard to create a structure for our custom file browser.
-
Answer:
First, you should learn to use the right tool for the job. You want to do client-side programming. JSP == Java Server Pages. Second, there's no way for the server to tell the browser to get a listing of your local files by itself and for good reason. A Flash applet is what you need.
Anonymous at Quora Visit the source
Related Q & A:
- How to create a custom email template?Best solution by Salesforce
- In Visual Studio 2012 or 2013, how can I register a DLL file on Windows 7 64-bit computer using a Custom Action command?Best solution by Stack Overflow
- How to create a virtual file on mac OS X?Best solution by Super User
- How do I create a web based msn?Best solution by Yahoo! Answers
- How do I create a custom theme?Best solution by windows.microsoft.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.