I am trying to place a link with an image. However, I am getting run-time exception that says "equal symbol expected" in the expression.. It points to 'O' in userVO in the image:src I am totally lost on why I am getting this error.. and any help/pointers in this regard will be much appreciated. Thanks
Bear Bibeault Appreciate the reply.. Can you please tell me how else can I achieve it ... I am just learning the tricks so any pointers/examples would be of great help. Thanks again.
Unless you're trying to create a submit button that uses an image file, <html:image> is the wrong tag to use. If you just want to display an image, <html:img> is the tag to use.
In any case, the Struts tags don't really buy you anything here, so my suggestion would be to use the plain html <img> tag. That way you can substitute a <bean:write> tag as the src attribute.