This is manikanta . I am working on Struts2+Hibernate project. In our project we are having a requirement like to upload a file . For that requriment while developing an JSP page we are using a <S:file> tag.
Below is the format of that tag.
<s:file id="fileUpload" name="fileUpload" label="Select a File to upload" size="40"></s:file>
by using this tab internally it will create a choose button .For that choose button internally it will take a CSSProperty like default color.
Our requirement is to change the color of that button to blue.
Please let me know any solutions fot that requirement.
there is a attribute called cssclass and cssstyle in file tag which you can use to apply css to apply css on Button you need to refer to the struts theme.
For more information refer struts documentation here