Jon Stevens wrote:
> 
> on 9/22/2000 3:54 PM, "Diethelm Guallar, Gonzalo"
> <[EMAIL PROTECTED]> wrote:
> 
> > 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?
> 
> Right...that is exactly how you would do it. So do it.
> 
> DLR, your rewrite rule idea doesn't apply in this case.

Wouldn't you still have to set the "document root" somewhere?
-- 

Daniel Rall <[EMAIL PROTECTED]>


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to