Click here to Skip to main content
13,045,422 members (104,193 online)
Rate this:
Please Sign up or sign in to vote.
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
	<td><s:textfield key="label.firstname" value="firstname" /></td>

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

Thanks for any commnet

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

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 25 Dec 2011
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100