> What is urlStr 

String urlStr = "http://localhost/ACTIVEMQ/amq";;

> and what is your web.xml? 

It's the original one with vm://localhost. The servlets running in Tomcat
with the context /ACTIVEMQ.

> BTW have you tried out the
> activemq-web-demo web application? You can use your browse to post/get
> messages to test out the servlets.

Yes, i did. The servlets are working. I tested it with a dummy web page
which listen and send messages to a topic. Only the java publisher doesn't
work :-(


--
View this message in context: 
http://www.nabble.com/Ajax-post-simulation-with-Java-t1555597.html#a4226664
Sent from the ActiveMQ - User forum at Nabble.com.

Reply via email to