I need to open a san box url while using file browse button in a web application. For that i planed to set VPN using Java code.I tried it google but could not find any solutions so for. Any Idea for this one?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What exactly are you trying to do? When you say “open a sandbox URL while using file browse button”, I assume you’re trying to list available files (and maybe retrieve contents of a file)? If so, are you trying to access the file system of the server (web server?) or the client?
Either way, I think you need to consider some other options.
If you’re looking to expose a directory tree of the server, I’d expose any details you need (directory tree and/or file contents) through a web service (JSON, XML, or otherwise) – and present that data back to the client – possibly using AJAX. An immediate example that comes to mind is phpVirtualBox. I can remotely mount virtual disks from the server on the server – all through a remote web browser using this approach.
If you’re looking to expose a directory tree from the web client, you either need to use the browser’s built-in file selector (using
<input type="file"...>, or an applet – e.g. Java or Flash, if the browser-provided options don’t provide the functionality that you’re looking for.