> > Where does WM go looking for the image file bar.jpg?
>
> WM doesn't *look* anywhere...it doesn't serve your images,
> your web server
> does...think about how images are sent for a second.
> It needs to be rooted at /.
The point is, if I have to root images at '/', the path
to the image given in a WM template will have to be an
absolute path, which is a bad thing.
Is there a way of doing something like
<img src="$getRoot("images/bar.jpg")">
and have that expanded to
<img src="/myapp/servlet/myapp/images/bar.jpg">
so that, if I later move the application to a different
location, the templates will not have to be changed?
> -jon
--
Gonzalo A. Diethelm
[EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]