[spring] web: add xml support