Click here to Skip to main content
11,642,855 members (71,358 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: Java struts
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
Edited 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
0 DamithSL 328
1 OriginalGriff 280
2 Sergey Alexandrovich Kryukov 270
3 Afzaal Ahmad Zeeshan 195
4 190
0 DamithSL 541
1 OriginalGriff 495
2 Mika Wendelius 469
3 Sergey Alexandrovich Kryukov 330
4 Afzaal Ahmad Zeeshan 324

Advertise | Privacy | Mobile
Web04 | 2.8.150731.1 | Last Updated 25 Dec 2011
Copyright © CodeProject, 1999-2015
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