Hi, I&#39;ve been using the <a name="(part._servlet-env..ss)"></a><a name="(mod-path._web-server/servlet-env)"></a>Simple Single Servlet Servers <span class="hspace"></span><span class="schemeparen">(</span><span class="schemesymbol"><a href="file:///Applications/PLT%20Scheme%20Full%20v4.1.4.3/doc/reference/require.html#%28form._%28%28lib._scheme/base..ss%29._require%29%29" class="schemesyntaxlink">require</a></span><span class="stt"> </span><a href="file:///Applications/PLT%20Scheme%20Full%20v4.1.4.3/doc/web-server/servlet-env_ss.html" class="schememodlink"><span class="schemesymbol">web-server/servlet-env</span></a><span class="schemeparen">) to embed a web server in a gui app. <br>
<br>I&#39;m now keen to run more than one servlet, so I&#39;m trying out </span><span class="schemeparen"> web-server/web-server</span> to run multiple servlets, but I&#39;m running into an error that I can&#39;t seem to work out - it weirdly only shows when I click back into drscheme.<br>
<br>;;<br>Welcome to DrScheme, version 4.1.4.3-svn2mar2009 [3m].<br>Language: Module custom.<br>procedure application: expected procedure, given: false; arguments were: &quot;/vi-events.html&quot; false false<br>procedure application: expected procedure, given: false; arguments were: &quot;/favicon.ico&quot; false false<br>
procedure application: expected procedure, given: false; arguments were: &quot;/favicon.ico&quot; false false<br>&gt; <br>;;<br><br>The page I&#39;m trying to retrieve; <br>
<a href="http://localhost:8081/vi-events.html">http://localhost:8081/vi-events.html</a><br><br>my layout of files is:<br>server2.ss<br>conf/config-table.ss<br>files/vi-events.html<br><span class="schemeparen"><br>;;;;;<br>
#lang scheme/gui<br>(require web-server/web-server<br>         web-server/web-config-unit         <br>         )<br><br>(define stop-server void)<br>(define (start-file-server)<br>  (set! stop-server (serve/web-config@<br>
   (configuration-table-&gt;web-config@<br>    &quot;conf/config-table.ss&quot;<br>    ;    #:port 8081<br>    ))))<br><br>(start-file-server)<br><br>;;part of </span>conf/config-table.ss <span class="schemeparen">;;<br>     (paths<br>
      (configuration-root &quot;conf&quot;)<br>      (host-root &quot;.&quot;)<br>      (log-file-path &quot;log&quot;)<br>      (file-root &quot;files&quot;)<br>      (servlet-root &quot;.&quot;)<br>      (mime-types &quot;mime.types&quot;)<br>
</span>;;;<br><br><br><br>Cheers,<br><br>Stephen<br><br>--<br>Stephen De Gabrielle<br><a href="mailto:s.degabrielle@cs.ucl.ac.uk">s.degabrielle@cs.ucl.ac.uk</a><br>Telephone +44 (0)20 7679 0693 (x30693)<br>Mobile                  079 851 890 45<br>
Project: Making Sense of Information (MaSI)<br>Work:<a href="http://www.uclic.ucl.ac.uk/annb/MaSI.html">http://www.uclic.ucl.ac.uk/annb/MaSI.html</a><br>Home:<a href="http://www.degabrielle.name/stephen">http://www.degabrielle.name/stephen</a><br>
<br><br>UCL Interaction Centre<br>MPEB 8th floor<br>University College London<br>Gower Street<br>London WC1E 6BT<br>