Setting alwaysUseFullPath shouldn't be necessary. I've always been able to make things work without it. The only case I can think of where you might need it is if you are on a Servlet container that is returning odd values for things like request.getServletPath.
If you really did need to go that far in customizing the HandlerMapping, you can turn off the default mapping behavior through the "disable-default-mapping" attribute and then providing your own SimpleUrlHandlerMapping. Something like:
I'm confused as to why you were trying to map "/messagebroker/*" in web.xml if you're trying to map both the MVC controllers and MessageBroker. I would think you'd use something more generic like "/app/*" or even just "/" (in conjunction with the relatively new default-servlet-handler support). I'm wondering if you're confusing things a bit. And are you appropriately compensation for your mapping changes in services-config.xml?
<flex:message-broker disable-default-mapping="true" />
<bean id="mapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
<property name="alwaysUseFullPath" value="true"/>
Last edited by jeremyg484; Dec 8th, 2010 at 05:50 PM.
Reason: Mistake in <flex:message-broker> example.
Staff Engineer, Web Products Team