Posted on 16 Aug 2022, this text provides information on Syllabus Queries related to Course Queries. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for 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
2 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: