Solved. My mistake by sending wrong datatype. Content-Type must be
application/x-www-form-urlencoded.
Thank you.
2011/12/16 José Manuel Sendín Cruz
> Hello Maurizio, thanks.
>
> Headers sended as "GET" are:
>
> Host localhost:8080User-AgentMozilla/5.0 (Windows NT 6.
3A%22Calle+del+Pardo+1%22%2C%22nombre%22%3A%22Paco3
%22%7D%5D&customData=someinfo
So, you might be right. How can I send as GET format by POST method?
2011/12/16 Maurizio Cucchiara
> I'm not sure, but if I recall correctly that could be an encoding issue.
> In
[I tried to simplifie the code to better understand the questions]When I
tried to send data from a web side client to an ActionClass in Struts 2
like:
CLIENT SIDE:
-
jQuery("#bedata").click(function(){ //Function for button "bedata"
var postData =
3 matches
Mail list logo