Igor Vaynberg wrote:
see ContextImage and how it builds a context relative url

That yields this:

    getRequest().getRelativePathPrefixToContextRoot()

I'm not sure if this is a better approach or not, but it's at least some characters shorter! To use it, I'd still have to put it in some Javascript, but since that's no change from the current solution, I'm not particularly bothered by it.

I think I'd prefer this relative path to my absolute, context path, based one, but I'd have to think hard to figure out why. And it's too late in the evening to think hard. I'll try this and see which I like.

Thanks for your help,

  -- Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to