Hi:

 

I have just downloaded all the Jars required for Displaytag. And trying to
use it in my Struts Application

 

But when I try to use it 

 

<%@ taglib uri="http://displaytag.sf.net"; prefix="display" %>  

 

 

<display:table name="eventList" id="eList" export="false" pagesize="10"
requestURI="/manageEvent.do" >

<bean:write name="eList" property="name"/>

<bean:write name="eList" property="register" />

<bean:write name="eList" property="startDate"/>

<bean:write name="eList" property="endDate"/>

 

 <table width="530" border="0" cellspacing="0" cellpadding="0"
bgcolor="#999999">

        <tr>

          <td><img src="images/grid/spacer.gif" width="30" height="1"></td>

        </tr>

      </table>

 

</display:table>

 

I am redirected to an Error Page with 

The following:

javax.servlet.ServletException: org/apache/commons/lang/UnhandledException
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:272)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:10
69)
 
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcesso
r.java:274)
 
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProces
sor.java:455)
 
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequ
estProcessor.java:320)
 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
        org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 
filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:
170)
 
org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter
.java:125)

root cause 

When I remove the <display:...</display:table> lines everything gets normal.
 
Any suggestions.
 
I have multiple versions of apache Libraries in my WEB-INF/lib, example:
 
commons-beanutils-1.7.0.jar and commons-beanutils.jar. Same for
commons-lang-2.1.jar and commons-lang.jar.
 
I have not downloaded any TLDs and the only place I have mentioned
Displaytags is in my web.xml with the following::
 

            <filter>

            <filter-name>ResponseOverrideFilter</filter-name>

            <filter-class>

                  org.displaytag.filter.ResponseOverrideFilter

            </filter-class>

      </filter>

 

      <filter-mapping>

            <filter-name>ResponseOverrideFilter</filter-name>

            <url-pattern>*.do</url-pattern>

        </filter-mapping>
 
 
Pls suggest something.
 
Thanks.
 
Chetan
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to