|
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>
|
- [displaytag-user] question Andrew Lapanik
- RE: [displaytag-user] Question Hannah Lee
- RE: [displaytag-user] Question David Friedman
- [displaytag-user] Question Sven Siegfried Imfeld
- RE: [displaytag-user] Question Andy Pruitt
- [displaytag-user] Question Oscar Salguero
- [displaytag-user] Question Rami

