Results 1 to 3 of 3
Thread: file path
- 10-12-2009, 09:03 AM #1
Member
- Join Date
- Oct 2009
- Posts
- 40
- Rep Power
- 0
file path
Hi all..
I want to know where to store my file that I have ro read from java program..
I am working on a Apache tomcat.......I am working on java beans..I have store text file in classes folder of webinf and also in jsp folder of examples..
but that is giving error which is follwing:
java.io.FileNotFoundException: prob.txt (The system cannot find the file specified)
- 10-12-2009, 09:49 AM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
When you execute the application get the file path and check that file is available in that location? Your error says that looking a file which is not found in the file path you are dealing with.
Can you show your code segment here that how you work on with the path of the file.
- 10-12-2009, 11:25 AM #3
Member
- Join Date
- Oct 2009
- Posts
- 40
- Rep Power
- 0
Similar Threads
-
reading file from a path
By new_coder in forum New To JavaReplies: 5Last Post: 08-17-2009, 04:52 AM -
Path for properties file and license
By aleks.farrier in forum Advanced JavaReplies: 0Last Post: 08-03-2009, 03:12 PM -
find file with * on the path
By itaipee in forum New To JavaReplies: 7Last Post: 07-08-2009, 08:05 AM -
How to set Image file path
By anil.bharadia in forum AWT / SwingReplies: 1Last Post: 01-28-2009, 09:10 PM -
file path
By Arsench in forum New To JavaReplies: 7Last Post: 10-30-2008, 05:39 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks