Hi,<div><br></div><div>to load it evaluate:</div><div>'webserver.self' runScript</div><div><br></div><div>webserver registerServlet: (webserver exampleServlets lobbyBrowserServlet copy) At: 'lobby'.</div><div>
webserver start.</div><div><br></div><div>then look at: <a href="http://localhost:8080/lobby">http://localhost:8080/lobby</a></div><div><br></div><div><a href="http://localhost:8080/lobby"></a>For more information see the object webserver</div>
<div><br></div><div>-- Pavel<br><br><div class="gmail_quote">On Wed, Sep 22, 2010 at 11:36 AM, Jason Grossman <span dir="ltr"><<a href="mailto:spam-me@xeny.net">spam-me@xeny.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">














<div style="background-color:#fff">
<span> </span>


<div>
  <div>


    <div>
      
      
      <p>Sorry for the newbie question but, would you believe, I can't work out how to file in that file into a snapshot?  I've read the online documentation, and I can see how to file OUT a module, but unless I've missed something (very possible) those instructions don't cover going in the opposite direction.</p>
<div class="im"><br>
<br>
Jason<br>
<br>
On 20/09/2010, at 11:52 PM, Russell Allen wrote:<br>
<br>
> Hi Jason,<br>
> <br>
> A web server is pretty easy - no external functions needed.  I've attached a simple one I did a while back - it probably doesn't work properly but it should give you the idea.<br>
> <br>
> If you do write one, please share it!<br>
> <br>
> Russell<br>
> <br>
> <br>
> <webserver.self><br>
> <br>
> On 20/09/2010, at 11:57 AM, Jason Grossman wrote:<br>
> <br></div><div class="im">
>> Hi all.<br>
>> <br>
>> I've been wondering whether it would be easy to write a web server in Self. Looking at the documentation, I can't see any reference to useful primitives for this. Am I missing something? Or would it have to be done by calling out to external functions written in e.g. C?<br>

>> <br>
>> Thanks<br>
>> <br>
>> Jason<br>
> <br>
<br>
</div><p></p>

    </div>
     

    
    <div style="color:#fff;min-height:0"></div>


</div>



  






</blockquote></div><br></div>