Greetings,<br>I'm working through the excellent tutorial by David Shafer (<a href="http://www.shaffer-consulting.com/david/Seaside/">http://www.shaffer-consulting.com/david/Seaside/</a>)<br>but I can't figure out how to get my images and other static (non-squeak) stuff to be found.
<br>I have a directory named &quot;Resources&quot; in the same directory as my image file. I started the server with the following:<br>&quot;Kill all existing Kom HTTP servers&quot;<br>HttpService allInstancesDo: [ :each | each stop. each unregister ].
<br><br>&quot;Start a new server o port 9090 serving both static content and seaside apps&quot;<br>| ma seaside |<br>seaside _ WAKom default.<br>ma _ ModuleAssembly core.<br>ma serverRoot: (FileDirectory default directoryNamed: 'Resources') fullName.
<br>ma alias: '/seaside' to: [ma addPlug: [ :request | seaside process: request]].<br>ma documentRoot: (FileDirectory default directoryNamed: 'Resources') fullName.<br>ma directoryIndex: 'index.html'.<br>ma serveFiles.<br>
(HttpService startOn: 9090 named: 'httpd') plug: ma rootModule<br clear="all"><br><br>in my renderContentOn: html definition I enter the following:<br>html image: 'Resources/images.jpg' altText: 'Cybele-photo01.jpg'.<br><br>
The Seaside component renders fine, but the image in Resources gives the message:<br>Error: &quot;/seaside/Resources/images.jpg&quot; not found<br><br>What am I doing wrong?<br><br>-- <br>Tom<br>"Ecrasez l'Infame!" -- Voltaire