My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 280: Jmesa Ajax call missing content-type
1 person starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  ----
Closed:  Mar 2011


 
Reported by jsparry....@gmail.com, Sep 13, 2010
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
When returning text you should not have to set the content type...we can revisit this if needed.
Status: Invalid

Powered by Google Project Hosting