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
Priority: Minor
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.