[Logo]
Forums Register Login
Struts 2 reset button using immage
Hi ,

I am using struts 2.1.6. I am trying to use an image in a struts reset button. The code is given below:

<s: reset
type="image"
src="/image/ok.gif"
/>


The problem is the image does not get displayed . A regular HTML button gets displayed. Im my RAD editor I get the message that 'src' attribute is not recognized.

Is it a bug or a limitation? As per Struts 2 documentation the 'type' attribute can have a value of 'image'.

Any inputs willbe greatly appreciated..

Thanks

Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards


This thread has been viewed 1312 times.

All times above are in ranch (not your local) time.
The current ranch time is
Dec 18, 2017 00:20:31.