Skip to content
Snippets Groups Projects
  1. Jun 29, 2015
  2. Jun 24, 2015
  3. Jun 18, 2015
  4. Jun 17, 2015
  5. Jun 09, 2015
  6. May 29, 2015
  7. May 20, 2015
  8. May 12, 2015
  9. May 10, 2015
  10. Apr 23, 2015
  11. Apr 14, 2015
  12. Apr 01, 2015
  13. Jan 21, 2015
  14. Jan 20, 2015
  15. Jan 16, 2015
  16. 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
  17. Nov 28, 2014
  18. Oct 18, 2014
Loading