Hello Steve,

> It may be that *out* gets redirected. Another difference between out
> and err is that System/err is often associated with an "autoflush"
> stream. It's possible that your output to *out* has ben buffered and
> that you need a call to (flush) to ensure it's displayed.

Not calling the flush could be the culprit...

> On a separate note, one convenient thing about Clojure namespaces is
> that they are created with "java.lang" already (effectively) imported.
> An unqualified call like
>
> (.println System/err "something")

Just learnt that *err* is defined in clojure so:

(. *err* println "something")

works :-).

Kind regards,

Vlad

PS: uploaded example of handling "post" in http server: http-server-
post.clj
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to