Hi, 

I have this requirement where I have to get the URL from database and plug
this url in anchor from resource bundle. For eg: 

Database will give me:  URL = www.google.com
and the key in bundle:  search_key =  {0} Find it here 


Lets say n JSP 
<%  
url = "www.google.com" ;   --> This i'll get from database
%>

<bean:message bundle="AgrSales" key="oss.test" arg0="<%= url>"/>

But this does not work. Link that I get in UI opens
http://localhost:8080/www.google.com. 

I even tried to return the content from java class only by using
MessageFormat class. But it behaves in similar manner. 

Please help to get it done. 

Thanks for reading the post! 



-- 
View this message in context: 
http://www.nabble.com/%3Cbean%3Amessage%3E-question-tp24095363p24095363.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to