File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Struts 2 reset button using immage Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 reset button using immage" Watch "Struts 2 reset button using immage" New topic

Struts 2 reset button using immage

Pallav Bora
Ranch Hand

Joined: Oct 13, 2009
Posts: 73
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

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


I agree. Here's the link:
subject: Struts 2 reset button using immage
jQuery in Action, 3rd edition