<map:components> <datasources> <jdbc name="local-ds"> <url>jdbc:blah</url> </jdbc> </datasources> </map:components>
Ouch! I had this need one and a half year ago [1] and couldn't satisfy it. Don't remember what I did and why it didn't work, and now that I have a solution, I don't need it anymore.
Ugo
[1] http://beblogging.com/blog/2002/11/21/195906