Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 99432 invoked from network); 15 Nov 2006 23:50:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Nov 2006 23:50:39 -0000 Received: (qmail 33364 invoked by uid 500); 15 Nov 2006 23:41:09 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 33330 invoked by uid 500); 15 Nov 2006 23:41:09 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 33280 invoked by uid 99); 15 Nov 2006 23:41:09 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Nov 2006 15:41:09 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Nov 2006 15:40:58 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 48E0C714322 for ; Wed, 15 Nov 2006 15:40:38 -0800 (PST) Message-ID: <7890497.1163634038296.JavaMail.jira@brutus> Date: Wed, 15 Nov 2006 15:40:38 -0800 (PST) From: "Mario Ivankovits (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Commented: (TOMAHAWK-780) DojoInitializer fails on IE In-Reply-To: <12735013.1163531617095.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/TOMAHAWK-780?page=comments#action_12450237 ] Mario Ivankovits commented on TOMAHAWK-780: ------------------------------------------- Ok, content-length added. Ariel, could you please try the latest svn head. Thanks! > DojoInitializer fails on IE > --------------------------- > > Key: TOMAHAWK-780 > URL: http://issues.apache.org/jira/browse/TOMAHAWK-780 > Project: MyFaces Tomahawk > Issue Type: Bug > Reporter: Ariel Falduto > Assigned To: Mario Ivankovits > > DojoInitializer fails on explorer when tries to load the dojo.js .... if i look the servlet response of dojo.js file thats not fully writed in the response ... but in firefox works right. > im debuggin currently this method placed on MyFacesResourceLoader ... > /** > * Copy the content of the specified input stream to the servlet response. > */ > protected void writeResource(HttpServletRequest request, HttpServletResponse response, > InputStream in) throws IOException > { > ServletOutputStream out = response.getOutputStream(); > try > { > byte[] buffer = new byte[1024]; > for (int size = in.read(buffer); size != -1; size = in.read(buffer)) > { > out.write(buffer, 0, size); > } > } > finally > { > out.close(); > } > } > and its look fine.... cos' in firefox works ... :P -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira