All,

I'm having a problem using LinkTool (StrutsLinkTool, actually) in
Velocity Tools 1.4. What I want is a fully-qualified URL without the
current webapp's context path in the URL. Something like this:

http://host/path/to/resource

What I'm getting from LinkTool.setAbsolute('/foo/bar') is this:

http://host/context/foo/bar

Do I misunderstand the javadocs? I would expect that my call would yield
a URL without the context path.

I'm passing a literal string to LinkTool.setAbsolute, so I don't have a
variable whose value I'm wrong about or anything like that.

Any ideas?

Thanks,
-chris

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to