• Post Reply Bookmark Topic Watch Topic
  • New Topic

Present an input table as HTML and read in as Java object

 
Anne Forumer
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd appreciate any suggestions on how to present a table or table-like presentation in HTML for input by a user and read it in as a Java Object through a Servlet/JSP.

I am aware of doing this in a trivial way of presenting each table cell as a text input text field and reading in all these fields to create an object.

Is there a more elegant and scalable way to do this?

Thanks
 
Dan Novik
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think no. You have to have flat table in HTML anyway.
By the way, Struts will create such object (bean) for you
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!