https://bz.apache.org/bugzilla/show_bug.cgi?id=59377

--- Comment #2 from Esmool <275379...@qq.com> ---
(In reply to mgrigorov from comment #1)
> Which JavaScript library do you use? $.post looks like jQuery but then all
> request parameters should be in 'data'. 'templateId' is something random and
> jQuery will just ignore it. I guess it works only in the cases when
> 'templateId' is also in the 'data'.

jQuery 1.11.1

$.post() is shorter wrap of $.ajax(), only $.ajax() need parameters put in
field 'data'. The formal rule of $.post() looks like

$.post(url, queryParams, callback, resutsDataType);

the 'data' field in my case is only a customized post parameter wish to send,
no other particular syntax meaning.

It worked fine most of the time, so I believe this is not the key point.  

BTW, I noticed that when the server resulted in parameter lost, the client side
will appear in pending(waiting response from server) for a longer time then
normal. In my case, normal time is about 1 second, and 10+ seconds if it fails.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to