Search code examples
cssjspstruts-1

Struts html:text styleclass


I am working on Struts program and come across the html tag with a styleClass 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 ZZZ.css but none exist. Can anyone please tell me how styleClass works? Is ZZZ defined in some particular file?


Solution

  • 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).