File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
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