Results 1 to 4 of 4
- 07-20-2011, 12:58 PM #1
Member
- Join Date
- Jun 2011
- Posts
- 5
- Rep Power
- 0
Problem while reading PDF when path is changed
Hi,
I am uploading few images through my app which will be saved in C:/../tomcat/webapps/../Image/
I am able to fetch the images which are pdfs and jpg.
Now I have changed the path to D:/....tomcat/webapps/../Image/ . Everything being same except C: to D: Drive. I successfully uploaded the images and saved in my new location. But unable to read the pdf files.
Kindly let me know what can be the solution. In JSP, all alerts for the path is rite.
Regards,
wiki.horizon
- 07-20-2011, 01:41 PM #2
I think, the problem is not in your path but in your code that used to upload files.
If possible, Let us see your sample code.Mak
(Living @ Virtual World)
- 07-21-2011, 06:30 AM #3
Member
- Join Date
- Jun 2011
- Posts
- 5
- Rep Power
- 0
Issue Fixed :)
Actually while reading pdf ,it was referring to the local folder of the project. But then I have installed the Tomcat in D: Drive . Its working fine :)..
Thank you
- 07-21-2011, 06:53 AM #4
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Please mark the thread solved then.
Similar Threads
-
Reading and writing the file in a specified path
By harsha.udupa2008 in forum New To JavaReplies: 4Last Post: 04-23-2010, 11:48 AM -
problem with reading excel sheet data reading using poi libraries
By sandeepsai17 in forum New To JavaReplies: 5Last Post: 08-21-2009, 11:03 AM -
reading file from a path
By new_coder in forum New To JavaReplies: 5Last Post: 08-17-2009, 04:52 AM -
Weird path problem when reading properties file
By jerry_popperq in forum New To JavaReplies: 0Last Post: 03-18-2009, 03:32 PM -
problem with PATH
By creativehacker in forum New To JavaReplies: 4Last Post: 07-11-2007, 02:54 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks