Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

<display:table> not working

 
Mansi Mishra
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am trying to display an arraylist in tabular format in my jsp.
Here is the code snippet for the <display:table>

<bean:define toScope="request" scope="session" name="dealForm" property="resultList" id="outputList" />
<display:table id="results" name="outputList">
<display:column property="stock" title="Stock" />
</display:table>

I ahve included the displaytag-1.0.jar in my classpath.
But when I run the code, the table always says 'Nothing found to display'
Is there anything I am missing here? Please advice.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic