I am working on some legacy Struts 1.x applications that use Struts html tags instead of standard html tags. I am trying to modernize the UI without making functional changes.
For example:
The input field is <html:text property="someProperty" styleClass="someCssStyle">
instead of <input type="text" class="someCssStyle">
If I change, <html:text>
to <input type="text">
the property binding breaks i.e. the value in input field is not passed to the code.
If I try to apply bootstrap styles to <html:text>
, it does not work.
How can I apply Bootstrap styles to legacy struts html tags?