User submissions are the sole responsibility of contributors, with TuteeHUB disclaiming liability for accuracy, copyrights, or consequences of use; content is for informational purposes only and not professional advice.
I am trying to get file data from database to HTML using a Java servlet. The file data is in binary format. I am converting binary format data to string format, but I am getting error as:
The column index is out of range: 1, number of columns: 0.
Can anyone please suggest me where I am going wrong?
No matter what stage you're at in your education or career, TuteeHUB will help you reach the next level that
you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice
sessions to improve your knowledge and scores.
manpreet
Best Answer
3 years ago
I am trying to get file data from database to HTML using a Java servlet. The file data is in binary format. I am converting binary format data to string format, but I am getting error as:
Can anyone please suggest me where I am going wrong?
Here is my Java code: