Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everyone
I have a problem but i don't know how to solve it. Could anyone help me, please?
I have a "dtails.jsp" page. It'll be linked by an action from another page. So i want to take a property that name "photo" that contain the image path and render it like this. To render a textfield, i can do it easy like this
HTML
<tr>
	<td><s:textfield key="label.firstname" value="firstname" /></td>
</tr>


But to render an image, i can't
HTML
<tr>
  <td><img src="value='photo'" /></td>
</tr>


Thanks for any commnet
ck

PS: I'm working in struts2
Posted
Updated 24-Dec-11 22:05pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900