View Single Post
  #4 (permalink)  
Old Oct 28th, 2007, 07:32
Rakuli's Avatar
Rakuli Rakuli is offline
SuperMember

SuperMember
Join Date: Sep 2007
Location: Australia
Age: 24
Posts: 956
Blog Entries: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: AJAX call to a servlet

I'm sorry I don't know anything about Tomcat So I am unsure why it isn't accepting POST requests -- maybe if you try their help area or wait for somehere who knows a bit about it.

As for the GET request -- you have your query string escaped... Is there a reaso for this? It looks like a query string with = reaplaced -- if you want to set GET string you need to unescape the = and & characters otherwise it is just read as a long string.

eg..

XMLHttpRequestObject.send(decodeURI(newURL));


Is there reason you are sending it as a long string or do you actually want there to be numerous variables.
Reply With Quote