RE: Unable to include *.sum files (Again)

2001-12-10 Thread Micael Padraig Og mac Grene
At 08:14 AM 12/10/01 +0200, you wrote: Hi all, Thanks for all the responses(including the debate) to this question! It made some real interesting reading material after the SHORT weekend! To get back to August's suggestion: we've tried it but our problem is that the file content is generated by

RE: Unable to include *.sum files (Again)

2001-12-10 Thread August Detlefsen
What text format are your .sum files using? Sounds like it may be UTF8. Try this: /** * Returns the String contents of a UTF8 file. * * This method throws any fileIO errors. * * @param sFileName Full file path. * @return String The contents of the file as a

Re: Unable to include *.sum files (Again)

2001-12-10 Thread Jeff Kilbride
requires the MIME type to be registered while the other does not? Thanks, --jeff - Original Message - From: Kusel, Jonathan J [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Sunday, December 09, 2001 10:14 PM Subject: RE: Unable to include *.sum files (Again) Hi all

Re: Unable to include *.sum files (Again)

2001-12-10 Thread Jeff Kilbride
: Monday, December 10, 2001 1:21 PM Subject: RE: Unable to include *.sum files (Again) What text format are your .sum files using? Sounds like it may be UTF8. Try this: /** * Returns the String contents of a UTF8 file. * * This method throws any fileIO errors. * * @param

Re: Unable to include *.sum files (Again)

2001-12-10 Thread August Detlefsen
- Original Message - From: August Detlefsen [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, December 10, 2001 1:21 PM Subject: RE: Unable to include *.sum files (Again) What text format are your .sum files using? Sounds like it may be UTF8. Try

RE: Unable to include *.sum files (Again)

2001-12-10 Thread Kusel, Jonathan J
[mailto:[EMAIL PROTECTED]] Sent: 11 December 2001 03:45 To: Tomcat Users List Subject: Re: Unable to include *.sum files (Again) Yes, it is absolutely going too far, but from my experience the include directive has been quirky from the start (no matter what platform). Hence, I have utility methods

RE: Unable to include *.sum files (Again)

2001-12-09 Thread Kusel, Jonathan J
similar actions simply using a different syntax? Thanks again, Jonathan -Original Message- From: August Detlefsen [mailto:[EMAIL PROTECTED]] Sent: 09 December 2001 01:53 To: Tomcat Users List Subject: Re: Unable to include *.sum files (Again) If it does use PrintWriter to write

Re: Unable to include *.sum files (Again)

2001-12-08 Thread Micael Padraig Og mac Grene
At 08:22 PM 12/7/01 -0800, you wrote: Yeah, see my last post. Since JSP output is written with a PrintWriter, the Catalina code is restricting it to only being able to output known text/* MIME types. This just doesn't feel right to me. Thanks, --jeff Well, jeff, then it is not a bug. At best

Re: Unable to include *.sum files (Again)

2001-12-08 Thread Jeff Kilbride
Message - From: Micael Padraig Og mac Grene [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, December 08, 2001 10:12 AM Subject: Re: Unable to include *.sum files (Again) At 08:22 PM 12/7/01 -0800, you wrote: Yeah, see my last post. Since JSP output is written

Re: Unable to include *.sum files (Again)

2001-12-08 Thread Micael Padraig Og mac Grene
on it. Thanks, --jeff - Original Message - From: Micael Padraig Og mac Grene [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, December 08, 2001 10:12 AM Subject: Re: Unable to include *.sum files (Again) At 08:22 PM 12/7/01 -0800, you wrote: Yeah, see my last

Re: Unable to include *.sum files (Again)

2001-12-08 Thread Micael Padraig Og mac Grene
At 02:51 PM 12/8/01 -0800, you wrote: I don't think the spec is that detailed -- I mean, it doesn't come out and say the page attribute of jsp:include has to follow the requirements of the JspWriter. So, I don't know the answer to that. Remember though, we're talking about included files -- by

Re: Unable to include *.sum files (Again)

2001-12-08 Thread August Detlefsen
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

Re: Unable to include *.sum files (Again)

2001-12-08 Thread Micael Padraig Og mac Grene
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

Re: Unable to include *.sum files (Again)

2001-12-08 Thread Jeff Kilbride
: Unable to include *.sum files (Again) At 02:51 PM 12/8/01 -0800, you wrote: I don't think the spec is that detailed -- I mean, it doesn't come out and say the page attribute of jsp:include has to follow the requirements of the JspWriter. So, I don't know the answer to that. Remember

Re: Unable to include *.sum files (Again)

2001-12-08 Thread Jeff Kilbride
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

Re: Unable to include *.sum files (Again)

2001-12-08 Thread Micael Padraig Og mac Grene
At 06:10 PM 12/8/01 -0800, you wrote: 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.

Unable to include *.sum files (Again)

2001-12-07 Thread Kusel, Jonathan J
Hi all, I've mailed the follwoing to the tomcat users group but nobody has responded yet so I took the liberty of posting it again. Here's the message: I'm trying to include normal text files with .sum extensions using the jsp:include directive:

Re: Unable to include *.sum files (Again)

2001-12-07 Thread August Detlefsen
I am totally guessing, but maybe you have to define a MIME type for .sum files in your web.xml (and perhaps also where Apache configures MIME types?)? HTH, -August --- Kusel, Jonathan J [EMAIL PROTECTED] wrote: Hi all, I've mailed the follwoing to the tomcat users group but nobody has

Re: Unable to include *.sum files (Again)

2001-12-07 Thread Jeff Kilbride
PROTECTED] Sent: Friday, December 07, 2001 12:40 PM Subject: Re: Unable to include *.sum files (Again) I am totally guessing, but maybe you have to define a MIME type for .sum files in your web.xml (and perhaps also where Apache configures MIME types?)? HTH, -August --- Kusel, Jonathan J

Re: Unable to include *.sum files (Again)

2001-12-07 Thread Micael Padraig Og mac Grene
At 01:31 PM 12/7/01 -0800, you wrote: Nope. I tried it with *.doc files, too, and it still doesn't work. *.doc is defined in web.xml. Besides, it doesn't really make sense for MIME types to affect included files, does it? --jeff I may be out to lunch here, Jeff, but it seems to me that it

Re: Unable to include *.sum files (Again)

2001-12-07 Thread August Detlefsen
- From: August Detlefsen [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, December 07, 2001 12:40 PM Subject: Re: Unable to include *.sum files (Again) I am totally guessing, but maybe you have to define a MIME type for .sum files in your web.xml (and perhaps also

Re: Unable to include *.sum files (Again)

2001-12-07 Thread Jeff Kilbride
- Original Message - From: Micael Padraig Og mac Grene [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, December 07, 2001 1:37 PM Subject: Re: Unable to include *.sum files (Again) At 01:31 PM 12/7/01 -0800, you wrote: Nope. I tried it with *.doc files, too

Re: Unable to include *.sum files (Again)

2001-12-07 Thread Jeff Kilbride
- From: August Detlefsen [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, December 07, 2001 2:16 PM Subject: Re: Unable to include *.sum files (Again) It might, if somewhere in the code of the jsp:include tag it specifies to only include a file if it is of a relevant mime type

Re: Unable to include *.sum files (Again)

2001-12-07 Thread Micael Padraig Og mac Grene
At 02:21 PM 12/7/01 -0800, you wrote: Hi Micael, Let's make sure we're talking about the same thing. If I include a file like: jsp:include page=./testTxt.sum flush=true / Why does it matter what the file extension of the included file is? Isn't the container just supposed to open the file

Re: Unable to include *.sum files (Again)

2001-12-07 Thread Jeff Kilbride
] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, December 07, 2001 7:40 PM Subject: Re: Unable to include *.sum files (Again) At 02:21 PM 12/7/01 -0800, you wrote: Hi Micael, Let's make sure we're talking about the same thing. If I include a file like: jsp:include page=./testTxt.sum