This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Leaving the debate about whether or not this is the best way to go about this aside, you need to create the URL independent of the JS, then use the value in the JS. The <s:url> tag allows you to specify the var in which to store the results--use it, and the <s:property> tag, in combination.
Joined: Nov 07, 2007
Hi David, Many thanks for the help.
Could you please provide me the sample code to use it.