Tag Struts 2 dans une balise javascript
<script type="text/javascript">
...
// L'url est bien généré
newGrpNode.href='<s:url action="groupe_" method="newGroupe"><s:param name="idParent">1</s:param></s:url>';
// On obtient newGrpNode.href='/application/groupe_!newGroupe.action?idParent=1';
..
// L'url n'est pas généré
newGrpNode.href='<s:url action="groupe_" method="newGroupe" id="urlNewGroupe"><s:param name="idParent">1</s:param></s:url>';
// on obtient newGrpNode.href='';
.
</script>
En gros, Si il y a un id, l'URL n'est pas générée.