Forget my question. My function works if i send the message within a xml-tag.
"&message=" + URLEncoder.encode ( "<message type='chat' from='Cure'>" + simpleContent + "</message>", "UTF-8") + -- View this message in context: http://www.nabble.com/Application-send-message-to-Ajax-Servlet-t1454249.html#a3937197 Sent from the ActiveMQ - User forum at Nabble.com.
