-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Tinu,

On 8/20/13 9:59 PM, Babu, Tinu wrote:
> Here is the piece of codes which is throwing the error.
> 
> <select name="list1" size="15" multiple> <jbo:RowsetIterate
> datasource="userRole" > <option value="<jbo:ShowValue
> datasource="userRole"  dataitem="RoleName" />"> <jbo:ShowValue
> datasource="userRole"  dataitem="RoleDesc" /> </option> 
> </jbo:RowsetIterate> </select>
> 
> <select name="list2" size="15" multiple> <jbo:RowsetIterate
> datasource="roles" > <option value="<jbo:ShowValue
> datasource="roles"  dataitem="RoleName" />"> <jbo:ShowValue
> datasource="roles"  dataitem="RoleDesc" /> </option> 
> </jbo:RowsetIterate> </select>
> 
> Exception is always being thrown from the RowSetIterate Tags in
> JSPs. This was working properly with Tomcat4 version and when we
> upgraded our Tomcat to version 6 we started getting this strange
> exception.
> 
> Please share your thoughts.

Where is the row set itself declared? In the JSP? In a servlet
somewhere that executes before the JSP?

In general, I wouldn't recommend making any JDBC calls from within a
JSP: I prefer to take care of all data acquisition in a servlet (or
similar) before delegating the creation of a response to the view
layer. But that's just me.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJSFMNUAAoJEBzwKT+lPKRYRDUQAMs3ugmVpr/K0kGMRIV2xHvG
cb7Kd2uWrvAnFLqgbj6GuMFQvWsTXcbA3tlaa+iY3FSQEchFnzktONVdqml6CGsB
UdumVqg0GFPI9vPM7nq4EOxTZg6QlaVsy2LJ0hbmc4vFaYD6s4uz21yd2IMZ8MJy
FjGx6JylFn1c9RjLBegWRWUS3ykkapaZ8lwJU+QUnI1WxLp8mg37FV7ziwKIk5u5
yKc1nquQ/cj2aqUiEdpC2CEwmy05m2APiDmGT/UkKuZoHMRG1/OzLFlKg65RhlvB
x0iPSDZv6iP/neZEtGmOsYiQLG9F5/v4ziV+kgsJYbhmb6jtYIYiHcBYrn425Q2W
ERhqEuYRXR+2yRxt3/xzB0uSyg3eikhfwNoOrFH2OGgk4cpzSZJRW/E0N2EUYUwr
ZRuGpOr4wgpPOrJ3A02hGYpBz2ZtbiingTl/72IlLcgBnBUapWzSazPl4BE7gPe/
VToMDtlxm74qiqtvr8C8swGAK9Y2xwmFkFI2GF2tu7STgbDfIA7f8eILYo3+m57S
3oI/O4aVf38HiKuA5pZmahSU5mLtCi4Fj0RmzDSSwLgi0WYfgUzCsqKDJKFns2qe
PRNEyA8w7X4IKI4oJKgP/C7+gl3g8xycEo2C04Q6ZlZHjqfSBqJi6KnxJfdZLoYt
t18eSlW8KZBzKKHP7QpT
=011K
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to