How are you starting the server? If you are starting with serve/servlet, then you use #:extra-files-paths and the Web server will take care of it.
Your second paragraph makes me think that you are reading a static file inside of your servlet and then returning the string, rather than letting the Web server take care of the request. Jay On Sat, Dec 4, 2010 at 12:43 AM, < racketusers.20.gilesrobe...@spamgourmet.com> wrote: > Dear All, > > Using the standard web server, how do I serve a static html file? > I have an htdocs folder from which I can successfully include css files for > my dynamic pages. If I put a plain html file in htdocs and request it I get > the html encoded version of the html presented. How do I get the static > file served so the browser interprets it as an html file? > > Regards Giles. > > _________________________________________________ > For list-related administrative tasks: > http://lists.racket-lang.org/listinfo/users > -- Jay McCarthy <j...@cs.byu.edu> Assistant Professor / Brigham Young University http://faculty.cs.byu.edu/~jay "The glory of God is Intelligence" - D&C 93
_________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users