Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Appending Dynamic value to src attribute of the html:img tag

 
Bhoomika Bathla
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 485
Eclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
your query was answered before, please refer the link http://www.coderanch.com/t/539383/Struts/Placing-pdf-under-WEB-INF
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic