Did you start the Hunchentoot web server?
(defparameter *my-server* (start (make-instance 'acceptor :address "localhost" :port 8000)))
I tested the example on http://martin-loetzsch.de/ht-simple-ajax/%C2%A0and it worked for me.
andy
On Sun, Apr 3, 2011 at 6:23 AM, Haris fbogdanovic@xnet.hr wrote:
Hi.
I hope I can ask questions about ht-simple-ajax here. If not, please tell me where I can. I'm trying out ht-simple-ajax but it doesn't work. I have:
(defparameter *ajax-processor* (make-instance 'ajax-processor :server-uri "/ajax"))
(defun-ajax say-hi (name) (*ajax-processor*) (concatenate 'string "Hi " name))
(setq *dispatch-table* (list 'dispatch-easy-handlers (create-ajax-dispatcher *ajax-processor*)))
And then I go to: http://localhost/ajax/SAY-HI?name=Martin but nothing happens ?
Thanks
tbnl-devel site list tbnl-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/tbnl-devel