• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

html:link/bean message

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

What I am trying to do is place the url value of an html:link tag with the value from a property file that know how to get using the bean:message tag.

So, for example, I have this line:

<html:link page="<bean:message bundle='<%=bundle%>' key='call_center'/>" target="_blank"><%=ccLink%></html:link>

But the problem with this is that the url just shows up as:
<bean:message bundle='<%=bundle%>' key='call_center'/>

How can I accomplish my goal of creating an html link in a jsp, from a value in a property file?

Many Thanks
 
Weston Kornfeld
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As an addendum I need to use the <html:link page tag for sure. If I could extract the value from the property file and put it into a variable or something like that using something other than the bean tag - that should work.

Thanks Again
 
I’m tired of walking, and will rest for a minute and grow some wheels. This is the promise of this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic