Two Laptop Bag
The moose likes Struts and the fly likes form bean/jsp design Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "form bean/jsp design" Watch "form bean/jsp design" New topic
Author

form bean/jsp design

Pranav Sharma
Ranch Hand

Joined: Oct 27, 2003
Posts: 254
hi

had a question about my struts enabled web app. I get a number of fields from the database and populate them in the jsp page fields. What i wanted to know was is it better have one form for every jsp or should i keep the form session specific and set all the fields in one form and this form is accessed by all the jsp pages. there are about 75 fields, maybe more.

What is the best way to design this situation.

thank you
pranav
Pranav Sharma
Ranch Hand

Joined: Oct 27, 2003
Posts: 254
Also wanted to add that I was using Hibernate and i bring all the fields from the database in a set. so when i update the fields in the database, I will have to set all the fields in the same set before updating.

pranav
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: form bean/jsp design
 
Similar Threads
design advice required
Validating some extra fields of action form not in my jsp?
DynaValidatorForm not allowing insert.
Forms problem
refreshing form fields