• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Struts 2 reset button using immage

 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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

 
reply
    Bookmark Topic Watch Topic
  • New Topic