myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mario Ivankovits (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (TOMAHAWK-780) DojoInitializer fails on IE
Date Wed, 15 Nov 2006 23:40:38 GMT
    [ 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

        

Mime
View raw message