| Author |
Result sets in struts
|
manikandan jayakumar
Ranch Hand
Joined: Aug 20, 2011
Posts: 41
|
|
Can any one suggest me a link to learn how to display the result set in a jsp using struts
Want to display multiple rows.
|
 |
manikandan jayakumar
Ranch Hand
Joined: Aug 20, 2011
Posts: 41
|
|
i have added the following code to the respective files:
HelloWorldA.java(action class)
outBean.java
this my output jsp file
should i add anything in struts-config.xml?
what need to change in my code?
|
 |
manikandan jayakumar
Ranch Hand
Joined: Aug 20, 2011
Posts: 41
|
|
Hi,
I some how i managed to display the result set by using String arraylist
but if i try it by using bean object
'm getting strange result
Sorted Average!!!
com.outBean@74b70648
com.outBean@1bfd9cd5
com.outBean@2743724e
com.outBean@3d057305
where com is my package where outBean is defined.
these are my codes
in Action class
outBean.java
this is my output jsp
also tried to have property attribute in bean:write tag got error
|
 |
 |
|
|
subject: Result sets in struts
|
|
|