Hi Pierre,

afaik this is overridden in ParticipantSpringWeb with this line:
context.setAttribute(ContextLoader.CONFIG_LOCATION_PARAM, getParameter ());

I am no Spring expert though, so I might be totally misinterpreting things.

Best regards,

Geert

I think that is normal behavior, everything in this class is simply delegated to Spring. I updated the text to be a bit more precise about it.

For more info, just look at the source code:
https://svn.rifers.org/rife/trunk/src/framework/com/uwyn/rife/rep/ participants/ParticipantSpringWeb.java

In ParticipantSpringWeb, the value of ParticipantSpringWeb is used to set an attribute. But in ContextLoader.createWebApplicationContext there is:

String configLocation = servletContext.getInitParameter (CONFIG_LOCATION_PARAM);

and so the ParticipantSpringWeb value is not get here to set configLocation.

So it's always the default location which is used (/WEB-INF/ applicationContext.xml)

Did I miss something?

Pierre

--
Geert Bevin                       Uwyn bvba
"Use what you need"               Avenue de Scailmont 34
http://www.uwyn.com               7170 Manage, Belgium
gbevin[remove] at uwyn dot com    Tel +32 64 84 80 03

PGP Fingerprint : 4E21 6399 CD9E A384 6619  719A C8F4 D40D 309F D6A9
Public PGP key  : available at servers pgp.mit.edu, wwwkeys.pgp.net


_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users

Reply via email to