-
Retreive Absolute Path
Hi,
How do i retreive the absolute path from other machines using JSP.
Thanks in advance.
Cheers,
Lee
-
I'm not sure but wouldn't that get you into trouble with the SecurityManager...?
eschew obfuscation
-
Hi,
Thanks for the response.
Actually im designing an intranet for my project wherein i give the provision for my team members to add new documents for the project.
Acutually i'm using JSP, so i just wanted to know how do i retreive the path from one JSP(where my "file" tag lies) to another page(ie given in the "Form" tag of the first page).
Usually I give request.getParameter to retreive the values to the next page. But this doesnot work in case of file path.
Hope this answers your question.
Thanks in Advance.
Cheers,
Lee
-
Url to a file
I'm not sure if it is any help, but you can specify the url to a file on a
machine like:
String path="c:\\tmp\\aFile.txt";
URL anURL=new URL("file: "+path);
eschew obfuscation
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks