[hunchentoot-devel] Using javascript

Chris Dean ctdean at sokitomi.com
Sat Feb 23 07:00:39 UTC 2008


"Lisp Newb" <lispnewb at gmail.com> writes:
> (:html
>   (:head
>     (:link :href "myfile.css" :rel "stylesheet" :type "text/css")
>     (:script :src "myfile.js" :type "text/javascript" nil)
>
> I installed hunchentoot via asdf.  What's the root directory of my
> website?  The directory containing the lisp file that calls
> start-server doesn't appear to be it.

I don't believe that hunchentoot does anything special with setting up
a root directory of your website.  So, it's just whatever the
directory of the Lisp process is.  You can either change-directory to
whatver you want the server root to be, or use fully qualified file
names.

Cheers,
Chris Dean




More information about the Tbnl-devel mailing list