Yes, <s:property value="employeeList.size()" /> giving value 8 for this.
-----Original Message----- From: Musachy Barroso [mailto:[EMAIL PROTECTED] Sent: Sunday, May 25, 2008 10:07 PM To: Struts Users Mailing List Subject: Re: Pagination problem with struts2,Please Please help me. Are you sure there is data on that list? try this on your page <s:property value="employeeList.size()" /> musachy On Mon, May 26, 2008 at 12:53 AM, Varun Deep <[EMAIL PROTECTED]> wrote: > Request to All > > I am using pagination with display tag in struts2. Following is the code > I included in my jsp file. > I also include all the jar file. And tld files. In the respective > folders > 1.try > <%@ taglib uri="http://displaytag.sf.net" prefix="display" %> > > The EmployeeList is coming from the Action file. > > <s:set name="listofEmployee" value="EmployeeList" scope="request"/> > <display:table name=" listofEmployee " pagesize="4" class="simple" > id="row"> > <display:column property="name" /> > </display:table> > I also include all the jar file. And tld files. In the respective > folders. And using them as necessary. > > > > I also try to perform the following code: > ------------------------------------------------ > 2. try > > Web.xml > <jsp-config> > <taglib> > > <taglib-uri>http://displaytag.sf.net</taglib-uri> > > <taglib-location>displaytag.tld</taglib-location> > </taglib> > </jsp-config> > > employee. Jsp > > <%@ taglib uri="/WEB-INF/displaytag.tld" prefix="display" %> > > <s:set name="listofEmployee" value="EmployeeList" scope="request"/> > <display:table name=" listofEmployee " pagesize="4" class="simple" > id="row"> > <display:column property="name" /> > </display:table> > I also include all the jar file. And tld files. In the respective > folders. And using them as necessary. > > ------------------------------------------------------------------------ > ------------------------------------- > 3. try > Web.xml > <jsp-config> > <taglib> > > <taglib-uri>/WEB-INF/displaytag.tld</taglib-uri> > > <taglib-location>displaytag.tld</taglib-location> > </taglib> > </jsp-config> > > employee. Jsp > > <%@ taglib uri="/WEB-INF/displaytag.tld" prefix="display" %> > > <s:set name="listofEmployee" value="EmployeeList" scope="request"/> > <display:table name=" listofEmployee " pagesize="4" class="simple" > id="row"> > <display:column property="name" /> > </display:table> > I also include all the jar file. And tld files. In the respective > folders. And using them as necessary. > > ------------------------------------------------------------------------ > ------------------------------------- > > 4. try > > Web.xml > <jsp-config> > <taglib> > > <taglib-uri>http://displaytag.sf.net</taglib-uri> > > <taglib-location>displaytag.tld</taglib-location> > </taglib> > </jsp-config> > > employee. Jsp > > <%@ taglib uri=" http://displaytag.sf.net" prefix="display" %> > > <s:set name="listofEmployee" value="EmployeeList" scope="request"/> > <display:table name=" listofEmployee " pagesize="4" class="simple" > id="row"> > <display:column property="name" /> > </display:table> > I also include all the jar file. And tld files. In the respective > folders. And using them as necessary. > > ------------------------------------------------------------------------ > -------------------------------------------------------------- > Problem. > > But it shows nothing, not even any error message. > > Please Please help me. And suggest me how I have to move > > Thanks in advance > > Varun > -- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]