DB2Problem
Programmer
Hello All
This issue is just taking too much of my time. Any suggestion / code snippet will be a lot help
Problem: I need to populate my jsp page with values retrieved after a database look up. I am using STRUTS framework.
The DAO retrieves the values by doing something like "select * from where blah blah blah". Everything is fine till i get the values.
Now, I have to populate a bean or something (i don't know for sure ??) that can generate checkboxes depending on result of first field (so if the result of first field is "Y" i will show the checkbox as "checked" - else if the result of field is "N" i don't show the checkbox as "checked" - it will simply be checkbox)
I hope I am able to explain my problem.
If anyone has any idea on this please post it
Thanks
Please note that I have to use <html:multibox /> tag
This issue is just taking too much of my time. Any suggestion / code snippet will be a lot help
Problem: I need to populate my jsp page with values retrieved after a database look up. I am using STRUTS framework.
The DAO retrieves the values by doing something like "select * from where blah blah blah". Everything is fine till i get the values.
Now, I have to populate a bean or something (i don't know for sure ??) that can generate checkboxes depending on result of first field (so if the result of first field is "Y" i will show the checkbox as "checked" - else if the result of field is "N" i don't show the checkbox as "checked" - it will simply be checkbox)
I hope I am able to explain my problem.
If anyone has any idea on this please post it
Thanks
Please note that I have to use <html:multibox /> tag