<td width="16%"><html:img page="/images/"<bean:write name="products" property="ImgURL"/>"/></td> In my bean,ImgURL is String,name of a photo,I put photos to a folder /images,but now How to do? It's wrong do like that. help me thank you !!!
You can't embed one Struts tag inside another. Struts just doesn't support that. The easiest way to fix this is to use a regular HTML <img> tag rather than <html:img>. You can embed a <bean:write> tag inside a regular HTML tag.