• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Pager-tag can't paing if I don't place code in jsp?!

 
Yashnoo lyo
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone:
Does anyone used pager-taglib for paging? I can paing use the taglib if mycode is:

This code can works well and it can paging.k
But I don't want to place so many java code in my jsp,it isn't well MVC pattern.So I want to using struts-taglib in my jsp.And I change the code to:

In my servlet I use "session.setAttribute("mailList",DB.getList());" to place a List to page,but now,it can't paing !
Why? it's a bug? Or struts can't be used with other taglib?Some one know how to resolve it?
Thks in advanced!
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64721
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the Struts forum where those familiar with Struts tag interactions hang out.
 
Yashnoo lyo
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any idea? How to paging if I get a List in my jsp?
 
Svetlana Koshkina
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Yashnoo lyo:
Any idea? How to paging if I get a List in my jsp?

I tried the pager once and it did not paint at all. There were no time for me to sort it out and i did very simple pager from some book.
So, i am simply stating that not only you had that problem.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic