I am working with a struts2 project and i need to pass parameters through url... this is the code that i have written
<s:url action="submit/CalculatePoints" includeParams="get" var="playerX" >
<s:param name="winnerNo" value="player2"/>
it was refernced by following code
<a href="<s:property value="#playerX" />">
I expected that the markup for the link be
submit/CalculatePoints?winnerNo=palyer2
However iam not getting the querystring part. also attribute winnerNo in the action class is not getting populated as it should be according to How to access url parameters in struts2
Please tell me where i am going wrong?