Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts And Pager Tag Library

 
Mark Gowdy
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am using the Pager Tag Library (http://jsptags.com/tags/navigation/pager/) with my Struts-based application, and it appears to work fine when running on Tomcat. However, when I run it on Resin 2.1.6 I find that it adds an extra '?' before the parameters (i.e., the url looks like /viewCategory.do??catID=12&pager.offset=10 instead of /viewCategory.do?catID=12&pager.offset=10).
Does anyone have any ideas on what the problem could be?
Thanks
Mark
[ December 03, 2002: Message edited by: Mark Gowdy ]
 
Richard Mixon
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, I cannot help you. But thanks for the reference to http://jsptags.com - this is a cool site.
 
Mary Magdaline
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you show me how you used the pager library in yr jsp page?
I am trying to use the pager tag with Struts on a Vector and am confused as to what to do with my html:form action....I see url is an attribute of pg ager too....My guess is that I need to scrap html:form and just use the pager url attribute..Btw way is that the same as <%=pageUrl%> used as an expression. Also have some extra params for my page which I believe I could use via <pg aram> tag
 
Simon Brown
sharp shooter, and author
Ranch Hand
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"ameelin",
Thanks for joining JavaRanch, but could you just take a quick look at the naming policy and edit your profile.
Also, only members with valid names will be eligible for the book giveaways.
Thanks
Simon
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic