Retreive Absolute Path
How do i retreive the absolute path from other machines using JSP.
Thanks in advance.
I'm not sure but wouldn't that get you into trouble with the SecurityManager...?
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.
Url to a file
I'm not sure if it is any help, but you can specify the url to a file on a
URL anURL=new URL("file: "+path);
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