aspose file tools
The moose likes Struts and the fly likes How can I get url from properties file in struts-2 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "How can I get url from properties file in struts-2" Watch "How can I get url from properties file in struts-2" New topic
Author

How can I get url from properties file in struts-2

hemanth kumar dada
Greenhorn

Joined: Jul 19, 2012
Posts: 1
I want to get a URL from my global.properties file . How can i get it done.

<a href="javascript:winopen('${pageContext.request.contextPath}/main/order_search?orderId=${orders.id}')">
${orders.orderMonth}</a>

I want the highlighted url to be brought from global.properties file. In that file I am writing it as

url=javascript:winopen('${pageContext.request.contextPath}/main/order_search?orderId=${orders.id}')

I am able to get labels from the properties file, but unable to set url's to that.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How can I get url from properties file in struts-2
 
Similar Threads
ResourceBundle design problem
custom tag handler
Customized Property Loader
Dynamic class type declaration
Not able to apply decode function to my query