Hi Edward again,
Please load latest Aida from
http://mc.bioskop.fr/Aida.html. Official
Squeak release has some issues with static file serving which are now
solved in dev releases. Yes, we need to make a new relase soon ...
Also, ./ means a home from directory where image was started, not VM!
I hope this helps
Janko
Edward Stow wrote:
> Hi
>
> I would like to serve static css files to render my pages.
>
> I have been trying in my WebApplication subclass.
>
> MyApp>>initPageHeaderLinks
> super initPageHeaderLinks.
> self addLinkToScreenStyleSheet: '/css/mycss.css'
>
> The link is added to the html served to my browser but the css file
> cannot be located. (404 error)
>
> I note that the (AIDASite named 'mysite') homeDirectory returns './'
> -- I assume this is relative to squeak.exe
>
> I tried setting the absolute path with #homeDirectory: with no effect.
>
> I am sure I'm missing something ...
>
>
--
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si_______________________________________________
Aida mailing list
Aida@...
http://lists.aidaweb.si/mailman/listinfo/aida