I am attempting to use different methodes based on that domain the request is send.

e.g.

@RequestMapping(value = "/index.html", domain = "google.p", method = RequestMethod.GET)

public ModelAndView handleDeRequest(HttpServletRequest request, HttpServletResponse response) throws Exception 

@RequestMapping(value = "/index.html", domain = "google.com", method = RequestMethod.GET)

public ModelAndView handleComRequest(HttpServletRequest request, HttpServletResponse response) throws Exception 

The 2 domain names are routing to 1, exactly the same, server and webapp, but Let me return another modelAndView within the controllerclass depending that URL the reqeust is comming.

Any ideas?

cheers.

Are you able to not have access to just one handleRequest method in which you simply check HTTP referrer header and act correspondingly - fork into different techniques, etc.?