Re: Referring to static files in .jar root directly from HTML, with context added automatically?

2013-01-19 Thread Joachim Schrod
Ondrej Zizka wrote: Hi all, I'm wondering if I can refer to static files just from HTML, while keeping it aware of the context. Example: .jar contains /favicon.ico . I'd like to refer to it by link rel=... href=/favicon.ico. But when the app is at non-root context, this breaks as it

Referring to static files in .jar root directly from HTML, with context added automatically?

2013-01-17 Thread Ondrej Zizka
Hi all, I'm wondering if I can refer to static files just from HTML, while keeping it aware of the context. Example: .jar contains /favicon.ico . I'd like to refer to it by link rel=... href=/favicon.ico. But when the app is at non-root context, this breaks as it still points to