This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman 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 Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Grid In Struts" Watch "Grid In Struts" New topic
Author

Grid In Struts

v bobby
Greenhorn

Joined: Feb 15, 2010
Posts: 7
Hi,

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.

Regards
Bobby
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31571
    
185

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