File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 108
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..!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: problem with display tag
 
Similar Threads
displayTag Column summation problem when pagination
display tag to use link in
displat:table tag pls help me
Pagination not working using display tag
2 nd page / Next link - ' Nothing found to display' in DisplayTag