I showed this code to one of my collegue who is a software engineer..the database connection , the table the data in it all are correct, but he also was not able to trace the issue as of why data is not being displayed in the jsp page below is the code....
I don't even think that should compile. Line 25, for example, isn't valid Java code.
But that's just one of the things you have to deal with when you use scriptlets. If you had put that code in a Java class, where it belongs, you would have tried to compile it and found out right away that there was bad code in it. But when you put it in a JSP, you get messages in a log file, and you might get an error page depending on whether you configured an error page into your application. Which you probably didn't.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Data from database not being displayed in JSP