File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Struts-html:img and srcKey attribute Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts-html:img and srcKey attribute" Watch "Struts-html:img and srcKey attribute" New topic
Author

Struts-html:img and srcKey attribute

Andy Deighton
Ranch Hand

Joined: Apr 01, 2003
Posts: 39
Hey,
I'm trying to use the srcKey attribute of the html:img tag, but to no avail. I'm getting "You must specify exactly one of "forward", "href", "page" or "action"". However, the Jakarta docs says that srcKey is a valid attribute. Any clues?

FYI: srcKey looks for a url in the assigned message bundle, at the key specfied.

Andy
UK
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts-html:img and srcKey attribute
 
Similar Threads
images as hyperlinks
Double action call when scriptlets in iterate tag
Problem displaying images from "/"
Appending Dynamic value to src attribute of the html:img tag
quote symbol expected problem