View RSS Feed

Resource

Spring Resource

  1. Finding the Appropriate View in Spring

    by , 11-28-2011 at 01:19 AM
    In my previous tips we have gone through calling the appropriate RESTful methods, returning the results, and the initial parts of the determining the view involving determining the appropriate media type and looked at factors that could influence that decision. In the last tip on RESTful services I will show how the appropriate view is selected.

    Given that our previous post focused on the ContentNegotiatingViewResolver, one would expect that this view resolver directly resolves the ...

    Updated 11-30-2011 at 01:52 PM by Spring Framework

    Categories
    REST , Resource , View Helper , MVC
  2. Factors Influencing Media Type Selection in Spring

    by , 11-28-2011 at 01:17 AM
    In my previous tips, we looked at the components Spring uses to determine the appropriate media type for the results returned. We know that the ContentNegotiatingViewResolver is used to determine what the appropriate media type is for the results. I will discuss the second part of the strategy used for making this determination. This involves factors that influence the requested media type(s).

    After the ContentNegotiatingViewResolver has determined the requested media type, there ...

    Updated 11-30-2011 at 01:51 PM by Spring Framework

    Categories
    MVC , REST , Spring 3 , Resource
  3. Determining the Requested Media Type in Spring MVC

    by , 11-28-2011 at 01:12 AM
    In my previous tips, we looked at the components Spring uses to determine the appropriate media type for the results returned. We know that the ContentNegotiatingViewResolver is used to determine what the appropriate media type is for the results. I will discuss the first part of the strategy used for making this determination. This involves determining the requested media type(s).

    When the controllerís handler method finishes, and a logical view name is usually returned. The DispatcherServlet ...

    Updated 11-30-2011 at 01:44 PM by Spring Framework

    Categories
    MVC , REST , Spring 3 , Resource , View Helper
  4. Resource Representation in Spring

    by , 11-28-2011 at 01:05 AM
    In my previous tips, I looked out how to make the key RESTful method calls. In all of them the controllerís handler method finishes, and a logical view name is usually returned. In the case that the method doesnít return a logical view name (a method returning void) then the logical view name is derived from the requestís URL. The DispatcherServlet passes the view name to a view resolver in order to facilitate the determination of which view should render the results of the request.

    ...

    Updated 11-30-2011 at 01:42 PM by Spring Framework

    Categories
    Configuration , View , XML , REST , Resource