On Mon, Jun 1, 2009 at 23:42, Thomas thomas.karolski@googlemail.com wrote:
Yes I noticed its different in the examples and bknr source code. However unless I return a function object, I get error pages like this:
The value "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">
" is not of type (OR FUNCTION SYMBOL).
That propably is because you're not using BKNR's request dispatcher. Have a look at projects/lisp-ecoop/src/webserver.lisp. In the function START-WEBSERVER, Hunchentoot is initialized with a :REQUEST-DISPATCHER argument of 'BKNR.WEB:BKNR-DISPATCH.
-Hans