Hi Slava,
it works well now, even without wrapping an alloy on the dispatcher.
The error was in the very first line of the template. I removed the
space after the question mark and now it's fine.
This doesn't work (response error):
? xml version='1.0' ?
This does instead:
?xml version='1.0' ?
Hello,
I get this:
/Users/ludo/Documents/prog/factor/hello-web/hello-web.factor
hello-web:
/Users/ludo/Documents/prog/factor/hello-web/hello-web.factor:
29: ?xml version='1.0' ?
No word named ``?xml'' found in current vocabulary search path
Do I have to add a vocabulary to the search path
The xml stuff goes in its own 'hello.xml' file, not in the factor
source. I'll be clearer next time, my bad.
Diego
On Sun, May 3, 2009 at 10:52 AM, Ludovic Kuty mail...@kuty.be wrote:
Hello,
I get this:
/Users/ludo/Documents/prog/factor/hello-web/hello-web.factor
hello-web:
On Sat, May 2, 2009 at 7:54 PM, Diego Martinelli
martinelli.di...@gmail.com wrote:
Also, how can I inspect such erroneous responses to see what's really
happening?
Set the global variable development? to true:
t development? set-global
Do this form the listener. It will result in a stack
Hi all,
I'm playing around with furnace but it seems I'm doing something wrong
at a very basic level.
I tried a simple hello world application with a dummy chloe template
but pointing my browser to localhost:8080 I get only an enigmatic
'Response Error' page.
Here's the code for both factor
Hi Diego,
Try wrapping your dispatcher in an alloy. Take a look at
webapps.counter and webapps.calculator for self-contained 'Hello
world'-style examples.
Slava
On Sat, May 2, 2009 at 2:54 AM, Diego Martinelli
martinelli.di...@gmail.com wrote:
Hi all,
I'm playing around with furnace but it