How to show different content based on the path in Racket web servlets?
问题 I'm trying to follow the tutorial on the Racket guide on simple web apps, but can't get one, basic, basic thing. How can you have a servlet serve different content based on the request URL? Despite my scouring, even the huge blog example was one big file and everything handled with huge get query strings behind my back. How can I do anything based on URLs? Clojure's Noir framework puts this basic feature big up front on the home page ( defpage ) but how to do this with Racket? 回答1: The URL is