I use Struts 2 Framework and i want to pass a parameter in my action like this localhost:8080/MyApp/ModifierMessage.action?id=9
. In my jsp page i have the following text with the action:
<a href=\"/OCC/ModifierMessage.action\">Modifier</a>
Someone could help me to add dynamic id to my action ?
Use
<s:url>
and<s:a>
tags. For example is your dynamic id is calleddynamic_id
: