This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
The moose likes Struts and the fly likes Grid In Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Grid In Struts" Watch "Grid In Struts" New topic

Grid In Struts

v bobby

Joined: Feb 15, 2010
Posts: 7

I need to create a form with grid (Options like add, modify and delete ).

At first time, the form will load as empty grid. Is it possible in Struts. Kindly guide me. Need some sample codes.

Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32330

By grid do you mean a table? Yes, it is possible. Struts isn't going to have a one line that does that for you. You'd use logic:iterate to build the table in your JSP.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
It is sorta covered in the JavaRanch Style Guide.
subject: Grid In Struts
It's not a secret anymore!