html - How do you put value or placeholder in form:input Spring MVC -
hi know how place attribute "value","defaultvalue" or "placeholder" form:input
original code
<form:input path="ggpath" cssstyle="width:100%"/>
what want
<form:input path="ggpath" cssstyle="width:100%" value="example"/>
but if place value attribute. give me error. appreciated
use following code
<form:input path="ggpath" style="width:100%" placeholder="example"/>
Comments
Post a Comment