Moving web resources from idp-war to idp-conf ?
Tom Zeller
tzeller at dragonacea.biz
Mon Oct 13 14:54:37 EDT 2014
Do we want to serve static resources like images and stylesheets from
idp-conf rather than idp-war ?
If we run an expanded WAR I guess it doesn't really matter, deployers
can just as easily copy files into idp.home/war or idp.home/webapp
just as easily as idp-conf/resources, but I thought we didn't really
want deployers changing the WAR, expanded or not.
It looks like as part of IDP-474 the <mvc:resources mapping />
elements in mvc-beans.xml were commented out. If we want to bring them
back, for example
<mvc:resources mapping="/resources/**" location="%{idp.home}/resources/" />
then the paths to those resources in the velocity views and JSPs would be
$request.getContextPath()$request.getServletPath()/resources/images
instead of
$request.getContextPath()/images
as they are now.
I ask as part of setting up customization of the consent flows.
Thoughts ? Thanks.
More information about the dev
mailing list