• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Submitting a lot of textbox in a jsp page

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I have a jsp page which resembles an excel sheet.

so there are n number of rows and m number of columns. all the data elements in rows/columns are represented as textboxes. this is the requirement from client.

I have to make multiple screens like this.

This data that will be displayed in textboxes will be pulled from database and can be updated and then save back to database.

What would be the best way to handle this. since the form generation is dynamic and i dont know how many rows/columns will be there, any help would be appreciated

Thanks
Suraj
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1. Given the size, the form should use POST - GET might run into limits on URL length.
2. Create names for the fields that identify the field in terms convenient for your database saving operation
3. Submit the form to a servlet for extracting/verifying/etc the data - NOT to a JSP, JSP should only be used for HTML creation. See numerous discussions in this forum on the role of servlets and JSP

Bill
 
reply
    Bookmark Topic Watch Topic
  • New Topic