Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with display tag

 
Rajaprabhu Aravindasamy
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello guys..!
My JSP page is displaying the records in correct manner( using display:table tag).But whenever I'm clicking the the link named 'Next',it is saying that <No records to display>.
please anybody help me in this..! What should i do in order to make it work properly..!

My code is..,

<display:table name="details1" pagesize="1">
<display:column property="user_code" title="ID" />
<display:column property="user_name title="USER NAME"" />
</display:table>

where details1 is the list of objects(beans).
 
Raaja Gotluru
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Modify isplay table tag like this

<display:table name="details1" pagesize="1" requestURI="/your action name from where you are getting details1 list.do">

for eg: <display:table name="details1" pagesize="1" requestURI="/details1.do">

This will solve your problem.
 
Rajaprabhu Aravindasamy
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Raaja Gotluru...,...!

Your post helped me to fix my problem..
Thanks once again..!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic