Skip to content
Snippets Groups Projects
  1. Oct 13, 2015
  2. Aug 20, 2015
  3. Aug 19, 2015
  4. Jun 29, 2015
  5. Jun 24, 2015
  6. Jun 18, 2015
  7. Jun 17, 2015
  8. Jun 09, 2015
  9. May 29, 2015
  10. May 20, 2015
  11. May 12, 2015
  12. May 10, 2015
  13. Apr 23, 2015
  14. Apr 14, 2015
  15. Apr 01, 2015
  16. Jan 21, 2015
  17. Jan 20, 2015
  18. Jan 16, 2015
  19. Dec 05, 2014
    • michaelisvy's avatar
      workaround because there seems to be a conflict · 7080682d
      michaelisvy authored
      There seems to be a conflict between the following:
      
      1) New MVC namespace syntax:
      <mvc:content-negotiation use-not-acceptable="true">
      	    	<mvc:default-views>
      	      		<bean class="org.springframework.web.servlet.view.JstlView">
      	      			<property name="url" value="" />
      	      		</bean>
      	    	</mvc:default-views>
      	  	</mvc:content-negotiation>
      
      2) Inside my Unit test:
      ResultActions actions =
      this.mockMvc.perform(get("/vets.xml").accept(MediaType.TEXT_XML));
              actions.andDo(print()); // action is logged into the console
      
              actions.andExpect(status().isOk());
      7080682d
  20. Nov 28, 2014
Loading