Moving web resources from idp-war to idp-conf ?

Tom Zeller tzeller at dragonacea.biz
Mon Oct 13 15:21:41 EDT 2014


On Mon, Oct 13, 2014 at 2:00 PM, Cantor, Scott <cantor.2 at osu.edu> wrote:
> On 10/13/14, 2:54 PM, "Tom Zeller" <tzeller at dragonacea.biz> wrote:
>
>>Do we want to serve static resources like images and stylesheets from
>>idp-conf rather than idp-war ?
>
> I didn't think we could, I thought they still had to be in the tree, but I
> don't know why I thought so. I think one thing I was a little leery of was
> bugs in Spring accidentally exposing something in conf/ if we pointed it
> to a subdirectory there.

Well ... the PathResourceResolver is new in SF 4.1, so I guess bugs
are possible, but it seems reasonably simple, as long as
Resource.createRelative() does the right thing.


More information about the dev mailing list