Tuesday, September 24, 2013

Spring Mobile: Spring MVC XML Config

I integrated Spring Mobile(version 1.0.2.RELEASE) for the first time into a Spring MVC project (version 3.2.4.RELEASE).  It went relatively smoothly with a couple of exceptions.

First, the Spring Mobile Project page assumes you're using configuration classes.  And I swear the argument resolver is wrong since that class doesn't exist, but whatever.  Here is the XML I used for our config:

And Second, Spring Mobile seems to be a version behind Spring MVC so instead of using the maven dependency XML shown on the site I used this:

Beside the project page, here is some other useful documentation.

No comments:

Post a Comment