aspose file tools*
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: 112
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..!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem with display tag