Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-7344

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Works as Designed
    • Affects Version/s: 3.0.3
    • Fix Version/s: None
    • 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

          ashes.sarin Ashish Sarin created issue -
          juergen.hoeller 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 ]
          tmarshall Trevor Marshall made changes -
          Workflow jira [ 32348 ] SPR Workflow [ 40863 ]
          juergen.hoeller Juergen Hoeller made changes -
          Fix Version/s 3.1 M1 [ 11378 ]
          Fix Version/s 3.1 M2 [ 11379 ]
          juergen.hoeller Juergen Hoeller made changes -
          Fix Version/s 3.1 M2 [ 11379 ]
          Fix Version/s 3.1 Backlog [ 11107 ]
          juergen.hoeller Juergen Hoeller made changes -
          Fix Version/s 3.1 RC1 [ 12208 ]
          Fix Version/s 3.1 Backlog [ 11107 ]
          juergen.hoeller Juergen Hoeller made changes -
          Fix Version/s 3.1 RC1 [ 12208 ]
          Fix Version/s 3.1 Backlog [ 11107 ]
          cbeams Chris Beams made changes -
          Fix Version/s General Backlog [ 12209 ]
          Fix Version/s 3.1 Backlog [ 11107 ]
          tmarshall Trevor Marshall made changes -
          Workflow SPR Workflow [ 40863 ] New SPR Workflow [ 56177 ]
          tmarshall Trevor Marshall made changes -
          Workflow New SPR Workflow [ 56177 ] SPR Workflow [ 65569 ]
          juergen.hoeller Juergen Hoeller made changes -
          Link This issue is related to SPR-10791 [ SPR-10791 ]
          juergen.hoeller Juergen Hoeller made changes -
          Fix Version/s 4.1 RC1 [ 14308 ]
          Fix Version/s General Backlog [ 12209 ]
          juergen.hoeller Juergen Hoeller made changes -
          Fix Version/s 4.x Backlog [ 13218 ]
          Fix Version/s 4.1 RC1 [ 14308 ]
          juergen.hoeller Juergen Hoeller made changes -
          Fix Version/s 4.2 RC1 [ 14754 ]
          Fix Version/s 4.x Backlog [ 13218 ]
          juergen.hoeller Juergen Hoeller made changes -
          Link This issue is related to SPR-12210 [ SPR-12210 ]
          juergen.hoeller Juergen Hoeller made changes -
          Assignee Juergen Hoeller [ juergen.hoeller ] Sébastien Deleuze [ sdeleuze ]
          sdeleuze Sébastien Deleuze made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          sdeleuze Sébastien Deleuze made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Fix Version/s 4.2 RC1 [ 14754 ]
          Resolution Works as Designed [ 9 ]
          sdeleuze Sébastien Deleuze made changes -
          Link This issue relates to SPR-10205 [ SPR-10205 ]

            People

            • Assignee:
              sdeleuze Sébastien Deleuze
              Reporter:
              ashes.sarin Ashish Sarin
              Last updater:
              Sébastien Deleuze
            • Votes:
              60 Vote for this issue
              Watchers:
              46 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                10 weeks, 4 days ago