Can we configure textbox, button or drop down list..

Hi,

I am using struts + hibernate for my project. Still requirement is not clear. every time they are giving me new requirement for my web page designing and I am doing.

I want to know Is there any facility in Jsp/html/struts that.. I can define some text box , button, dropdown list in any file with name. so I have to call only name in my jsp page and it can add one more text box, button or dropdown list acording requirement..

suppose now I have 4 fields. in future if i want to add 4-5 fields more then I need not change to my jsp page. I have to change only my configure file..

some one told me it is possible using dynamic struts but I am not avail :((

any other suggestion also welcome. pls help me..its consuming my lot of time..

[775 byte] By [Prafull.Jaina] at [2007-11-27 0:59:30]
# 1
You need a MVC implementation. Like JSF, Spring, Tapestry or Struts. You can use JSP and write your own MVC code, but why should you reinvent the wheel while excellent MVC frameworks are available.
BalusCa at 2007-7-11 23:33:53 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

Hi,

I am using MVC frameworks with struts. In Struts, we can define fields name in ApplicationResources.properties file. same thing I would like to add for my fields like text box, button, drop down list mean I define my dropdown list with list value and I can call it to by its name which i define in any properties file. is it possible in struts?

Prafull.Jaina at 2007-7-11 23:33:53 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...