Hannah,
 
Are you using the apache commons v2.0 jar? 
 
Regards,
David
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Hannah Lee
Sent: Friday, November 21, 2003 4:56 PM
To: [EMAIL PROTECTED]
Subject: [displaytag-user] Question

Hello!
 
I am trying to display tables using displaytag library, but I'm constantly getting a run-time exception, "org.apache.jasper.JasperException: org/apache/commons/lang/StringEscapeUtils", whenever I run my .jsp file with display table tag in it. 
 
I don't understand how this taglibrary calls the correct method of my own class.  I have an ArrayList of class called ResultsBean.  I did have set "property" attribute of column so that it would be able to compose the getter method of each element of the class.  But, somehow, it is not being able to produce the resulting table.  Compilation of .jsp file is fine, so I think I'm not using the taglibrary as I am supposed to do.
 
The below is the body part of my .jsp file.
Any responses will be greatly appreciated.
 
-Hannah
 
=====================================================

<body>

<h2>Results Table:</h2>

<display:table name="sessionScope.table" export="true" sort="list" pagesize="3" requestURI="viewTables.do" id="rb" >

<display:column title="Profile ID" group="1" sortable="true" headerClass="sortable">

<%=((ResultsBean)rb).getprofid()%></display:column>

<display:column title="Registration ID" group="1">

<%=((ResultsBean)rb).getapplid()%></display:column>

<display:column title="Question ID" sortable="true" headerClass="sortable">

<%=((ResultsBean)rb).getquestid()%></display:column>

<display:column title="User's Resp">

<%=((ResultsBean)rb).getresp()%></display:column>

<display:column title="Answer">

<%=((ResultsBean)rb).getanswer()%></display:column>

</display:table>

</body>

 

 

Reply via email to