my dog learned polymorphism*
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 Murach's Java Servlets and JSP this week in the Servlets 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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30076
    
149

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.


[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
 
jQuery in Action, 2nd edition
 
subject: Grid In Struts
 
Similar Threads
Data Grid with Struts/JSP
(Struts2 -Jquery) Display data in a Grid after submitting a form.
Is FormBean Is Necessary?
Editable table requirement
Adding grids in MapBacked form