As after jsp code we refer to java for connectivity and i want that directly only 10 entries will be open and next there will be pages. so what would i do for coding in java?
Please visit the following link:
No actually i want to add pagination in my code. so what is the default options without any table and all. just we have to take query from the database.
Hi you can do this by using display tag in jsp as
<display:table id="arrList" name="arrList" pagesize="5" export="false" requestURI="viewData"> <display:column property="data_id" title="Data ID" paramId="userid" sortable="true" /> <display:column property="dataName" title="Data Name" sortable="true" /> <display:setProperty name="paging.banner.placement" value="bottom" /> <display:column property="dataName" title="Delete" paramId="id" paramProperty="categoryid" url="/admin/deleteData.action" /> </display:table>
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.