Add table attribute requestURI and set its value to the struts action.

-J

Mr Alireza Fattahi <[EMAIL PROTECTED]> wrote:
Hi,

We use an struts action to put a collecion of beans in request attribute:
request.setAttribute("AllUsers", UserService.findAllUsers());

In the jsp we use

<report:table name="AllUsers" export="true">
    <report:column property="email"/>
    <report:column property="lastName" />
</report:table>

Every thing works fine, but when we click on export link a blank page is displayd.

We found that this happens becuase the export link refers to the jsp page, instead of strust action and the bean is not populated in jsp (It populated in action)


Please let us know how can we solve it!
I hope that we should not move our code to jsp files.

Regards,
Alireza Fattahi


~Regards,
~~Alireza Fattahi

Try the all-new Yahoo! Mail . "The New Version is radically easier to use" – The Wall Street Journal-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user



+--------------------------------------+
+ Certain things are worth conserving. +
+ Some progress just regresses.        +
+--------------------------------------+
My Blog: http://jluix.com


Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to