-
Help needed in getting file url
Hi,
I work in a project where i need to get the url of the specified file. The code for that is as,
URL fileURL = Thread.currentThread().getContextClassLoader().getResource();
The required resource is available in the concerned path. But the file url returns null
Can you please help in solving the problem.
Thanks and Regards,
Muthu
Similar Threads
-
By Arjuna in forum Database
Replies: 2
Last Post: 07-25-2007, 03:22 AM
-
By paulychips in forum Java
Replies: 0
Last Post: 10-31-2005, 05:41 PM
-
By Knight_Vision in forum VB Classic
Replies: 1
Last Post: 06-10-2005, 05:23 PM
-
By Ron in forum Enterprise
Replies: 2
Last Post: 07-26-2002, 09:23 AM
-
By Andrew McLellan in forum Java
Replies: 3
Last Post: 05-09-2001, 05:34 PM
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