File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

html:link/bean message

 
Weston Kornfeld
Greenhorn
Posts: 28
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic