I have this code below, which suppose to perform paging to lists of data retrieved from a bean. However, when i run it i received this exceptions below. Anyone can give me any hint? it will be fully appreciated
Thank's a lot for the reference However, i changed my tag to get the bean size like this <bean:size id="pb_list" name="PositionBean" collection="posisi_list"/> "posisi_list" is the name of the List type of data which stored in request scope. When i run the program it's still display the same exceptions, is it allowed to use List as the value for the collection?
Here is the link to the documentation on the <bean:size> tag. As you will read, "collection" should only be used if you're using a scriptlet that evaluates to a collection. Use name to refer to the bean and optionally property to refer to the getter to be called to retrieve the collection.
So, if you specify name="PositionBean" and property="posisi_list", Struts will find PositionBean in some scope and call the getPosisi_list() method on it to get the collection.
If you have a collection in a scope with the name "posisi_list", you should simply specify:
Thanks a bunch my lists are finally paged correctly Anyway, I've tried to explore Display Tag and I have this code below which intended to export data displayed in my page into Excel and Pdf format. When i run the web, the excel files i've downloaded only show the table header, the fields are empty. Could you tell me is there any mistake on my code? thanks in advance
This one time, at bandcamp, I had relations with a tiny ad.
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop