| Author |
Appending Dynamic value to src attribute of the html:img tag
|
Bhoomika Bathla
Ranch Hand
Joined: Nov 28, 2009
Posts: 39
|
|
Hi All,
I need to append some text in the src attribute of the html:img tag.
I have defined the url in the property file as mainpage.url = http://abc.com/
I am using the the url in my jsp as follows :-
I need to append the text with the url as :- http://abc.com/myText
The text is set in the variable in a bean.
How should i append the text to url in jsp using struts tag???
Thanks
Bhoomika
|
 |
Mohana Rao Sv
Ranch Hand
Joined: Aug 01, 2007
Posts: 485
|
|
|
your query was answered before, please refer the link http://www.coderanch.com/t/539383/Struts/Placing-pdf-under-WEB-INF
|
ocjp 6 — Feeding a person with food is a great thing in this world. Feeding the same person by transferring the knowledge is far more better thing. The reason is the amount of satisfaction which we get through food is of only one minute or two. But the satisfaction which we can get through the knowledge is of life long.
|
 |
 |
|
|
subject: Appending Dynamic value to src attribute of the html:img tag
|
|
|