Spring Framework
  1. Spring Framework
  2. SPR-7344

Spring Portlet MVC - Unable to return JSON data from @ResourceMapping

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0.3
    • Fix Version/s: 4.x Backlog
    • Component/s: Web
    • Labels:
      None
    • Last commented by a User:
      true

      Description

      In many scenarios it is required to support returning JSON data from the @ResourceMapping annotated method of controller. The @ResponseBody and ContentNegotiatingViewResolver currently work only in the servlet environment.

        Issue Links

          Activity

          Ashish Sarin created issue -
          Juergen Hoeller made changes -
          Field Original Value New Value
          Issue Type Bug [ 1 ] Improvement [ 4 ]
          Assignee Juergen Hoeller [ juergen.hoeller ]
          Fix Version/s 3.1 M1 [ 11378 ]
          Trevor Marshall made changes -
          Workflow jira [ 32348 ] SPR Workflow [ 40863 ]
          Juergen Hoeller made changes -
          Fix Version/s 3.1 M1 [ 11378 ]
          Fix Version/s 3.1 M2 [ 11379 ]
          Juergen Hoeller made changes -
          Fix Version/s 3.1 M2 [ 11379 ]
          Fix Version/s 3.1 Backlog [ 11107 ]
          Juergen Hoeller made changes -
          Fix Version/s 3.1 RC1 [ 12208 ]
          Fix Version/s 3.1 Backlog [ 11107 ]
          Juergen Hoeller made changes -
          Fix Version/s 3.1 RC1 [ 12208 ]
          Fix Version/s 3.1 Backlog [ 11107 ]
          Chris Beams made changes -
          Fix Version/s General Backlog [ 12209 ]
          Fix Version/s 3.1 Backlog [ 11107 ]
          Trevor Marshall made changes -
          Workflow SPR Workflow [ 40863 ] New SPR Workflow [ 56177 ]
          Trevor Marshall made changes -
          Workflow New SPR Workflow [ 56177 ] SPR Workflow [ 65569 ]
          Juergen Hoeller made changes -
          Link This issue is related to SPR-10791 [ SPR-10791 ]
          Juergen Hoeller made changes -
          Fix Version/s 4.1 RC1 [ 14308 ]
          Fix Version/s General Backlog [ 12209 ]
          Juergen Hoeller made changes -
          Fix Version/s 4.x Backlog [ 13218 ]
          Fix Version/s 4.1 RC1 [ 14308 ]

            People

            • Assignee:
              Juergen Hoeller
              Reporter:
              Ashish Sarin
              Last updater:
              Juergen Hoeller
            • Votes:
              54 Vote for this issue
              Watchers:
              36 Start watching this issue

              Dates

              • Created:
                Updated:
                Days since last comment:
                1 year, 13 weeks, 5 days ago