my dog learned polymorphism*
The moose likes Other Open Source Projects and the fly likes using the display:table tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "using the display:table tag" Watch "using the display:table tag" New topic

using the display:table tag

prakash chauhan
Ranch Hand

Joined: Jun 22, 2007
Posts: 81
Hi All,

I am trying to use the display tag.
I set up an ArrayList of Employee objects in my EMPLOYEELIST attribute as follows.

this request is then fowarded to my next view.jsp page and i am trying to print all the properties of the Employee object using the display tag as follows

i m getting this error while trying to run this jsp :

what am i missing here? is there any setting or file that i need to set ?

prakash chauhan
Ranch Hand

Joined: Jun 22, 2007
Posts: 81
just found the cause of the problem :
i was missing two jar files in my WEB-INF/lib folder

1. commons-lang-2.3.jar
2. commons-beanutils-1.7.0.jar

adding these jar files in the lib folder seemed to solve the problem
i m able to display the table now.

It is sorta covered in the JavaRanch Style Guide.
subject: using the display:table tag
Similar Threads
Problem While using Java Mail API....
error in class and not in code
can property be given as * in jsp:getProperty
jsp:useBean exception
Struts1 - tiles -cascading tiles:insert