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

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

 
hemanth kumar dada
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic