[racket] Racket web servlets, doctype and planet libraries
Hello everybody,
I was trying to make some servlets recently and ran into two problems. First
it was not clear in the documentation how the doctype should be declared for
random servlets? I didn't want to make a html template based servlet to
include the doctype. I'd rather create the main parts of the (x)html pages
with xexprs in Racket code. What do I need to do?
I did find in the Schematics cookbook the dherman/xhtml package that seems
to do what I want but it doesn't seem to work in Racket. Perhaps the library
isn't updated to Racket? The error I get after requiring it is:
"C:\...AppData\Roaming\Racket\planet\300\5.0.1\cache\dherman\xhtml.plt\1\2\main.rkt"
(The system cannot find the file specified.; errno=2)
Correct report since the directory does not contain main.rkt but only
info.ss and xhtml.ss.
I think I got this same error with another lib earlier but skirted around
the problem. So is this lib not up to date and if it's not what I can do to
help get them ported?
Thanks,
-Markku
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20101003/23815e6c/attachment.html>