Hello. I've recently been developing an article-writing website with plt-web-server, and I've come across a problem with url queries. My code for the page is:<br><br>(module post<br> mzscheme<br> <br> (require (lib "servlet.ss" "web-server"))<br>
<br> (provide start interface-version timeout)<br> <br> (define interface-version 'v1)<br> (define timeout +inf.0)<br> <br> (define (start initial-request)<br> (send/finish<br> `(html<br> (body (p (format "~a" (request-bindings initial-request))))))))<br>
<br>When I go to <a href="http://localhost:8080/servlets/post.ss?x=2">http://localhost:8080/servlets/post.ss?x=2</a> , all I get is:<br><br>~a&initial-request;<br><br>. This is just a test to see if the bindings environment exists. All I really want, is the value of x. Is there anything that I am doing wrong here? Thank you.<br>
<br>Justin Paston-Cooper<br>