Re: Doest struts 2 accept “POST” method to send data from javascript to an Action server?

2011-12-16 Thread José Manuel Sendín Cruz
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.

Re: Doest struts 2 accept “POST” method to send data from javascript to an Action server?

2011-12-16 Thread José Manuel Sendín Cruz
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

Doest struts 2 accept “POST” method to send data from javascript to an Action server?

2011-12-16 Thread José Manuel Sendín Cruz
[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 =