This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes html:link/bean message Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html:link/bean message" Watch "html:link/bean message" New topic
Author

html:link/bean message

Weston Kornfeld
Greenhorn

Joined: Mar 01, 2005
Posts: 28
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

Joined: Mar 01, 2005
Posts: 28
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: html:link/bean message
 
Similar Threads
getting error with bean:message tag
html link href
bean: message tag
Making a bean collected from a collection in a page, available in a subsequent page
Use logic:notEqual with form bean