• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Any idea? How to paging if I get a List in my jsp?
 
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic