I have an XML String that I want to print out to a URL. I've tired using the PrintWriter function that was used previously but this is inside of the method @Override
protected ModelAndView handleRequestInternal(HttpServletRequest request,
HttpServletResponse response) throws Exception
which requires a ModelAndView or (null) be returned. If you return null it of course will not show anything but I'm unclear on how to just return this string of XML that I need displayed to a URL (i.e. - http://localhost:8080/service). Since this method needs to return something the PrintWriter won't work. Any ideas on what I can do with the XML string I have to print this to the screen?