| Author |
Display products in multiple pages using Struts 2.
|
Sammy Bill
Ranch Hand
Joined: Dec 29, 2008
Posts: 96
|
|
Hello,
I have a catalog page that display a list of products in inventory.
What should I do to limit the number of products displayed in a page to a specific number ( i.e: 10 products per page),
then having a link to the next page that will display the next 10 products?
any link or tutorial will be appreciated.
Thanks
|
 |
Nishan Patel
Ranch Hand
Joined: Sep 07, 2008
Posts: 676
|
|
Hi,
Use just Display tag that will solve your problem.
http://displaytag.homeip.net/displaytag-examples-1.1/
|
Thanks, Nishan Patel
SCJP 1.5, SCWCD 1.5, OCPJWSD Java Developer,My Blog
|
 |
Sammy Bill
Ranch Hand
Joined: Dec 29, 2008
Posts: 96
|
|
Thanks for your help.
Looking at some tutorials i noticed that i have to use Table tags. I dont want to display the data in a tabular form. I m using CSS to display the data.
Is there any other way to handle paging of long lists without using tables?
Thanks
|
 |
 |
|
|
subject: Display products in multiple pages using Struts 2.
|
|
|