aspose file tools*
The moose likes Servlets and the fly likes not selecting values from database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "not selecting values from database" Watch "not selecting values from database" New topic
Author

not selecting values from database

Megha Singhal
Ranch Hand

Joined: Feb 28, 2012
Posts: 225

in my following application i am retreiving data from the database with checkbox in each row and only checked should go in the database when i click on submit button

following is my bean file


following is Item.java

following is my jsp file file

and then servlet in which bean is calling


but the above is not giving me any output. here i didn't mention insertion query because first thing in which i have to select data from the database that is not working.
please see this.
Manish Sridharan
Ranch Hand

Joined: Jul 19, 2005
Posts: 64
Its bit difficult to tell from the code where it is failing. However, I did notice you are catching exception at every place which means application is eating up the exception. If I had been your place, I would change the code to throw the exception at every place instead of catching it. it would definitely give some pointers in terms of stack trace if it is failing anywhere.
You can also try running application in debug mode to see why it is not picking up the requested values.

Thanks


Manish S.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: not selecting values from database