Create Reusable objects for JSP

Hi,

i'm creating JSP for application forms for our client.

i've to create around 200 pages and almost all of them have major portion of the form common.

70-75 forms have common fields in them.

other 100-120 forms have some common fields in them.

Can we go for something that could bereused for all of the forms, so that i do not need to create all the times the similar block of page?

Please suggest ASAP,

Thanks in advance,

Shashi@HCL

[500 byte] By [Shashi@HCLa] at [2007-11-26 18:59:15]
# 1
The lines which you think will repeat move that to separate file and use <jsp:include> which process and places the file content at that location.Check out this pattern. http://www.corej2eepatterns.com/Patterns2ndEd/CompositeView.htm
Vishwas_Prasannaa at 2007-7-9 20:40:25 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Use Tiles. Create pages for header,body,form and footer and include in your pages as needed by using tiles. This is just my suggestion.Hope this helps.
kris10a at 2007-7-9 20:40:25 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...