The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

Prasad MVL (2) [Avatar] Offline
#1
Struts tag lib issue: Usage of <s:url>...
Hi folks,
We are using Struts2-Spring2 in our application.
We need to send the params using <s:url> using "POST" method.
But when We try to use the following snippet itz still showing the params as querystrings in the url:

--------------------------------------------------------------------------------------------------------------------------------------------postData()
{
var a = "<s:url action="MyMoney" includeParams="post"><s:param name="perform">taxes</s:param><s:param name="method">forwardHistory</s:param><s:param name="activeMenu">taxes</s:param></s:url>";

location.href=a;
}
-----------------------------------------------------------------------------------------------------------------------------------------------

We tried using includeParams="none" also. But no use smilie

Can any one help us on how can we do this pls?

Thanks in advance! smilie

Prasad MVL
Sr Software Engineer,
Satyam Computer Services,
B'lore