I agree that there are workarounds -- there are always workarounds -- but Tomcat is the RI, so this is the place where we're supposed to figure this stuff out.
I guess my argument is that Tomcat is being more restrictive than the spec requires it to be. Whether that's acceptable or not is ultimately up to the tomcat dev team. Thanks, --jeff ----- Original Message ----- From: "Micael Padraig Og mac Grene" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Saturday, December 08, 2001 4:27 PM Subject: Re: Unable to include *.sum files (Again) > At 03:53 PM 12/8/01 -0800, you wrote: > >If it does use PrintWriter to write the output, then it makes sense for > >it to only output text. See this from the PrintWriter javadoc: > > > >Print formatted representations of objects to a text-output stream. > >This class implements all of the print methods found in PrintStream. It > >does not contain methods for writing raw bytes, for which a program > >should use unencoded byte streams. > > > >If you want to include files of non-text types (or types that are text, > >but not included in your MIME types list), why not just write a utility > >method that opens a file, reads it and returns its contents as a > >String? > > > >-August > > Yah, August, we all agree on that. Jeff is thinking that the > specifications are not clear enough. Just a difference of "style" I > suppose. Thanks for your input. > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>