You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Ted Husted (JIRA)" <ji...@apache.org> on 2008/01/14 18:40:06 UTC
[jira] Resolved: (WW-2385) Missing instruction to set content-type
to "text/json" for JSON responses
[ https://issues.apache.org/struts/browse/WW-2385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Husted resolved WW-2385.
----------------------------
Resolution: Fixed
Assignee: Ted Husted
Thanks, Alex.
> Missing instruction to set content-type to "text/json" for JSON responses
> -------------------------------------------------------------------------
>
> Key: WW-2385
> URL: https://issues.apache.org/struts/browse/WW-2385
> Project: Struts 2
> Issue Type: Improvement
> Components: Documentation
> Affects Versions: 2.0.11
> Environment: All
> Reporter: Alex Choi
> Assignee: Ted Husted
> Priority: Minor
> Fix For: 2.1.1
>
>
> On the current page, http://struts.apache.org/2.x/docs/autocompleter.html dated, Sep 22, 2007 and last edited by Musachy Barroso. I think this page would help others by explicitly stating that the service that is producing the HTTP Response with JSON response to an Struts 2 Autocompleter tag must set the HTTP Header Response Content-Type to text/json.
> Everyone may not be aware that JSON has it own Mime Type and this is what the Struts 2 Autocompleter tag is looking for.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.