I would like to add a color or style attribute specifically to the below line but I keep running into TLD issues

<html:text property="xxxx" readonly="true" color="#C0C0C0"/>

Stacktrace:

org.apache.jasper.JasperException: /jsp/FinanceFee.jsp(617,22) Attribute color invalid for tag text according to TLD
有帮助吗?

解决方案

Use css style overrides

<html:text property="xxxx" readonly="true" style="color:#C0C0C0;"/>
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top