You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "John Moose (JIRA)" <ji...@apache.org> on 2008/07/10 20:37:05 UTC

[jira] Created: (WW-2718) REST plug-in

REST plug-in 
-------------

                 Key: WW-2718
                 URL: https://issues.apache.org/struts/browse/WW-2718
             Project: Struts 2
          Issue Type: Bug
          Components: Plugin - REST
    Affects Versions: 2.1.3
         Environment: WinXP Pro SP3
JDK1.5
Tomcat 5
MyEclipseIDE
            Reporter: John Moose
            Priority: Blocker


REST plugin as exercised in the struts2-rest-showcase previously returned JSON serialization in response to a URL such as  http://localhost:8080/struts2-rest-showcase/orders.json  and .../orders/3.json
It no longer returns correct serialization but pops-up a File Download save location or find a program to view file with window.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (WW-2718) REST plug-in

Posted by "John Moose (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-2718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44343#action_44343 ] 

jgmoose edited comment on WW-2718 at 7/11/08 3:45 AM:
---------------------------------------------------------

response to .../orders.json   and as you can see in the background, the orders.xml worked just fine

      was (Author: jgmoose):
    response to .../orders/json   and as you can see in the background, the orders.xml worked just fine
  
> REST plug-in 
> -------------
>
>                 Key: WW-2718
>                 URL: https://issues.apache.org/struts/browse/WW-2718
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - REST
>    Affects Versions: 2.1.3
>         Environment: WinXP Pro SP3
> JDK1.5
> Tomcat 5
> MyEclipseIDE
>            Reporter: John Moose
>            Priority: Blocker
>         Attachments: screenshot-1.jpg
>
>
> REST plugin as exercised in the struts2-rest-showcase previously returned JSON serialization in response to a URL such as  http://localhost:8080/struts2-rest-showcase/orders.json  and .../orders/3.json
> It no longer returns correct serialization but pops-up a File Download save location or find a program to view file with window.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (WW-2718) REST plug-in

Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Musachy Barroso resolved WW-2718.
---------------------------------

    Resolution: Not A Problem

See comments for details. This is an IE configuration problem.

> REST plug-in 
> -------------
>
>                 Key: WW-2718
>                 URL: https://issues.apache.org/struts/browse/WW-2718
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - REST
>    Affects Versions: 2.1.3
>         Environment: WinXP Pro SP3
> JDK1.5
> Tomcat 5
> MyEclipseIDE w/ embedded Firefox browser
>            Reporter: John Moose
>         Attachments: screenshot-1.jpg
>
>
> REST plugin as exercised in the struts2-rest-showcase previously returned JSON serialization in response to a URL such as  http://localhost:8080/struts2-rest-showcase/orders.json  and .../orders/3.json
> It no longer returns correct serialization but pops-up a File Download save location or find a program to view file with window.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WW-2718) REST plug-in

Posted by "John Moose (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Moose updated WW-2718:
---------------------------

    Attachment: screenshot-1.jpg

response to .../orders/json   and as you can see in the background, the orders.xml worked just fine

> REST plug-in 
> -------------
>
>                 Key: WW-2718
>                 URL: https://issues.apache.org/struts/browse/WW-2718
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - REST
>    Affects Versions: 2.1.3
>         Environment: WinXP Pro SP3
> JDK1.5
> Tomcat 5
> MyEclipseIDE
>            Reporter: John Moose
>            Priority: Blocker
>         Attachments: screenshot-1.jpg
>
>
> REST plugin as exercised in the struts2-rest-showcase previously returned JSON serialization in response to a URL such as  http://localhost:8080/struts2-rest-showcase/orders.json  and .../orders/3.json
> It no longer returns correct serialization but pops-up a File Download save location or find a program to view file with window.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WW-2718) REST plug-in

Posted by "Jeromy Evans (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-2718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44346#action_44346 ] 

Jeromy Evans commented on WW-2718:
----------------------------------

I need to verify it, but this is probably because the application/json mime type is registered incorrectly in your version of IE

In my standalone FF the json content is displayed in the browser.
In my standalone IE it prompts to save the unrecognized application/json result

PS/ the screenshot is embedded IE, not embedded Firefox.  

Can you check whether there was an exception, or an actual response, the response content & headers?

> REST plug-in 
> -------------
>
>                 Key: WW-2718
>                 URL: https://issues.apache.org/struts/browse/WW-2718
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - REST
>    Affects Versions: 2.1.3
>         Environment: WinXP Pro SP3
> JDK1.5
> Tomcat 5
> MyEclipseIDE w/ embedded Firefox browser
>            Reporter: John Moose
>         Attachments: screenshot-1.jpg
>
>
> REST plugin as exercised in the struts2-rest-showcase previously returned JSON serialization in response to a URL such as  http://localhost:8080/struts2-rest-showcase/orders.json  and .../orders/3.json
> It no longer returns correct serialization but pops-up a File Download save location or find a program to view file with window.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WW-2718) REST plug-in

Posted by "John Moose (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Moose updated WW-2718:
---------------------------

       Priority: Major  (was: Blocker)
    Environment: 
WinXP Pro SP3
JDK1.5
Tomcat 5
MyEclipseIDE w/ embedded Firefox browser

  was:
WinXP Pro SP3
JDK1.5
Tomcat 5
MyEclipseIDE


> REST plug-in 
> -------------
>
>                 Key: WW-2718
>                 URL: https://issues.apache.org/struts/browse/WW-2718
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - REST
>    Affects Versions: 2.1.3
>         Environment: WinXP Pro SP3
> JDK1.5
> Tomcat 5
> MyEclipseIDE w/ embedded Firefox browser
>            Reporter: John Moose
>         Attachments: screenshot-1.jpg
>
>
> REST plugin as exercised in the struts2-rest-showcase previously returned JSON serialization in response to a URL such as  http://localhost:8080/struts2-rest-showcase/orders.json  and .../orders/3.json
> It no longer returns correct serialization but pops-up a File Download save location or find a program to view file with window.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.