I have a table in database, which stores struts tags, so that i can query and generate a standard form dynamically, but when i run the application and load the form, only the labels are showing and the struts text fields are not visible.
the html source code in the browser show my struts tags as is, not compiled. only the normal html fields are visible in the form
What can be a good solution for my dynamic struts form generation?
attaching some image and html file for your reference.
-- SAMPLE table with html-struts code
insert into PRODUCT_FIELDS(HTML_CODE_LABEL, HTML_CODE_FIELD)
values ('<label>Sale Price</label>', '<html:text styleId="menu_txtfield" property="salePrice" value="" />');