| Issue 280: | Jmesa Ajax call missing content-type | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Hi All,
I'm currently using Jmesa 2.4.6 (Yes I know I need to update at some point :) )
However were experiencing issues where one user is blocking all requests that don't have a Content-type set on the response headers.
I notice that any ajax updates to the table don't have a content type set.
I'm guessing it because Excel and pdf export use the ajax to also write to the response.
> String ajax = this.ajax;
> if (ajax != null && ajax.equals("true")) {
> byte[] contents = this.htmlTable.getBytes();
> response.getOutputStream().write(contents);
> return null;
> }
I was wondering if this is something that's already been fixed in the new version and I just need to update or if its something I've done wrong and should be doing something else instead of above.
Many Thanks
James
Mar 10, 2011
Project Member
#1
jeff.johnston.mn@gmail.com
Status:
Invalid
|