| Author |
PWC1406: Servlet.service() for servlet threw exception:java.io.FileNotFoundException
|
lisy jessica
Ranch Hand
Joined: Oct 27, 2010
Posts: 47
|
|
I am trying to upload a csv file to Oracle database but am getting this java.io.FileNotFoundException C:\new_upload\Demo_24_10.csv (The system cannot find the path specified), This is my servlet Upload.java
The full stack message in log file is
Please can anyone look into my code, and help me out. I am stuck here
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56153
|
|
|
You can't just read a file from the client file system. Please see the JspFaq entry on file uploads for information on how to properly set up a file upload operation.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
lisy jessica
Ranch Hand
Joined: Oct 27, 2010
Posts: 47
|
|
|
Thanks for the reply, will try
|
 |
 |
|
|
subject: PWC1406: Servlet.service() for servlet threw exception:java.io.FileNotFoundException
|
|
|