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

Reply via email to