This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Struts and the fly likes problem with display tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "problem with display tag" Watch "problem with display tag" New topic
Author

problem with display tag

Rajaprabhu Aravindasamy
Greenhorn

Joined: Dec 26, 2011
Posts: 25
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

Joined: Mar 02, 2010
Posts: 115
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

Joined: Dec 26, 2011
Posts: 25
Thank you Raaja Gotluru...,...!

Your post helped me to fix my problem..
Thanks once again..!
 
Have you checked out Aspose?
 
subject: problem with display tag
 
It's not a secret anymore!