xcoder xcoder - 1 year ago 232
HTML Question

Struts html:text styleclass

I am working on a Struts program and come across the

tag with a
attribute in one of the JSP pages.
So, it looks something like:

<html:text name = "XXX" property="YYY" styleClass="ZZZ"...

I have tried to look for
but none exist. Can anyone please tell me how
works? Is
defined in some particular file?

Answer Source

Look for css files in your page, and styleClass ZZZ.. should be one of the css selectors.

See html:text tag documentation

From documentation:

CSS stylesheet class to be applied to this HTML element (renders a "class" attribute).