This is reply to my post
now my code works fine
i have made some changes in my
jsp code which my tagLibs Guru Mahesh has explained me some time before
<%
String requestURI="request.getContextPath()/a.c";
%> <display:table name="users"
id="user"
class="dataTable"
export="true"
requestURI="<%=requestURI%>"
requestURIcontext="true"
pagesize="2"decorator="org.displaytag.decorator.TotalTableDecorator">
<display:column title="Record Number" headerClass="th1" class="cellText">
<%=pageContext.getAttribute("user_rowNum")%>
</display:column>
<display:column property="firstName" title="firstName" maxLength="10" headerClass="th1" class="cellText" />
<display:column property="middleName" headerClass="th1" class="cellText"/>
<display:column property="lastName" headerClass="th1" class="cellText"/>
<display:column property="email" headerClass="th1" class="cellText"/>
<display:column property="age" headerClass="th1" class="cellText"/>
<display:column property="dateOfJoin" headerClass="th1" class="cellText"/>
<display:setProperty name="paging.banner.placement" value="bottom" />
</display:table>
where requestURI is nothing but my controllers url mapping
which i did in web.xml as
<servlet-mapping>
<servlet-name>displayTagTest</servlet-name>
<url-pattern>*.c</url-pattern> </servlet-mapping>
a.c is url mapping of my controller from where i got list
[ November 24, 2006: Message edited by: ganesh pol ]