A Datagrid is one of the standard components of JavaServer Faces (JSF), but it is not part of the Struts framework. In Struts, you have to create your own tables of data using standard HTML and Struts tags such as <logic:iterate>. Also, Struts does not have any special features for adding/updating/deleting data in a relational database. You must either adopt another framework such as Hibernate or the new Java EE Persistence framework, or use the standard JDBC API to do this.
You might look to other projects such as The Display tag library for automated features to build grids or tables of data on your pages.
Display data grid is used for dispay purpose but i want to add data to the grid and by clicking submit button it goes to the database.i want to add not only one record but n number records to push into database.please help me it urgent
posted 13 years ago
Which framework are you using? JSF or Struts? As I mentioned in my last post, there is no "display data grid" in Struts. [ September 18, 2006: Message edited by: Merrill Higginson ]