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.