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.