[ 
https://issues.apache.org/jira/browse/WICKET-2348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12725480#action_12725480
 ] 

Pavel Cernocky commented on WICKET-2348:
----------------------------------------

Thanks for tip.
Problem is, that our app is deployed on tomcat with more apps and we don't have 
access to tomcat config.

> always insert encoding in http response header
> ----------------------------------------------
>
>                 Key: WICKET-2348
>                 URL: https://issues.apache.org/jira/browse/WICKET-2348
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4-RC5
>            Reporter: Pavel Cernocky
>
> Real bug:
> If IE (6, 7, 8) receives ajax response with different encoding in http header 
> than the originating page has, it throws JS error with message "System error: 
> -1072896658"
> When making page redirect via ajax, the encoding is not set.
> When Tomcat is behind Apache httpd (via AJP) and there's no encoding in 
> response, httpd inserts it's own encoding into response header.
> These 3 things makes ajax unusable in configuration described above.
> Solution:
> Always put encoding in response header. Could be added in WebResponse:230, 
> but not sure if it's right place.

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

Reply via email to