hi everybody i had problems getting a pdf (as file) through the cocoon ResourceReader. on the browser side always a message box appeared with the text "The file is damaged and could not be repaired.".
after i inserted the method "shouldSetContentLength" into ResourceReader (overriding AbstractReader method) ... /** * Test if the component wants to set the content length */ public boolean shouldSetContentLength() { return true; } ... everything worked fine. the problem was, that in AbstractReader the method returns false. is this fix totally wrong ? greetings, lars --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]