[mochikit] Re: Shouldn't doXHR default to POST instead of GET to be proper?

2008-01-21 Thread [EMAIL PROTECTED]
On Jan 21, 1:16 am, troels knak-nielsen [EMAIL PROTECTED] wrote: That depends on how you use it. The assumption is, that you are pulling data with doXHR. If you want to push data, you should specify the method. Most other HTTP-agents also default to using GET, and only use POST, when

[mochikit] Re: Shouldn't doXHR default to POST instead of GET to be proper?

2008-01-21 Thread Bob Ippolito
On Jan 21, 2008 12:56 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On Jan 21, 1:16 am, troels knak-nielsen [EMAIL PROTECTED] wrote: That depends on how you use it. The assumption is, that you are pulling data with doXHR. If you want to push data, you should specify the method. Most

[mochikit] Re: Not able retrieve data from server

2008-01-21 Thread machineghost
Sounds like a problem in your server-side code (ie. your jsp). The responseText property of an XmlHttpRequest just Retrieves the response body as a string. (from MSDN). So, the reason you're seeing the entire jsp is because you're returning the entire jsp :-) If you're working in the jsp