Hi, I m returning an image through custom result from action, and when the page launches the image is getting displayed correctly.
But when I clicked the link to refresh, image is coming from action, but as I've specified the targets="" as the div, (instead of img tag) some garbage values are being displayed (I think it is displaying the content of the image). JSP: <html> <head> <s:head theme="ajax"/> </head> <body> <s:div id="imgDiv" theme="ajax"> <img src="ImageAction.action"> </s:div> <s:url action="ImageAction.action" id="imgUrl"></s:url> <s:a href="%{imgUrl}" targets="imgDiv" theme="ajax">Refresh</s:a> </body> </html> Can some one tell me how to target an img tag instead of div tag? Regards, ManiKanta