I was running my code not on the webserver, now i put it under the http://localhost:8161/demo/ directory and i started it again and now i get this error under chrome :
Refused to set unsafe header "Connection" What does it depend on? -- View this message in context: http://activemq.2283324.n4.nabble.com/Problem-with-Ajax-API-tp3155676p3159400.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.