menuImage

imagetruejava.lang.StringIndicates the path of the image to be used
cssClassfalsejava.lang.StringIndicates the CSS class to the menu
heighttruejava.lang.IntegerIndicates the height of image
widthtruejava.lang.IntegerIndicates the image width
renderedfalsejava.lang.BooleanIt indicates whether the component should be rendered
<html:view>
<html:menuImage cssClass="pull-right" image="/image/person.png" width="35" height="35" >
<html:menuItem label="Item 1" url="#"/>
<html:menuSeparator/>
<html:menuItem label="Item 2" target="_blank" url="#"/>
<html:menuItem icon="trash" label="Item 3" url="#"/>
</html:menuImage> </html:view>