• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet Error : The system cannot find the path specified

 
minhdung tran
Greenhorn
Posts: 13
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good morning, I have a very simple program which downloads a text file from my server c drive c:\mydir\test.txt to a user's computer specific drive. However, the program constantly giving me error telling me that "The system cannot find the path specified". I don't know what is going wrong in the program and why the servlet could not find the specific file test.txt in my c drive c:\mydir\test.txt. Attach is my program for you to review.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65216
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A bit light on details, don't you think?
 
Mohamed Sanaulla
Saloon Keeper
Posts: 3159
33
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And also please UseCodeTags for posting the Source Code.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic