tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From syg6 <s...@yahoo.com>
Subject Error when serving large Word doc
Date Wed, 02 Jan 2008 09:49:23 GMT

I am running Tomcat 5.5 on Windows 2000 Server. I have a jsp page with a
scriptlet that basically takes the 'out' object (JspWriter) and spits out a
bunch of info from the database along with Word formatting and using the
'msword' mime type. It is a total kludge, I know, but I didn't write it, I
just inherited it.

Anyway, when I have a lot of data the generated Word file is unable to be
opened. The process itself finishes correctly but it seems that when Tomcat
tries to serve it, it craps out. We're talking about less that 5Mb here, not
exactly a huge file.

I've been looking at increasing the bufferSize using the Jsp page directive
but doing so changes the error; it tells me that format is correct.

Is there anywhere in the server.xml (or somewhere else?) where I can
increase the maximum file size that Tomcat can serve?

Thanks,
Bob
-- 
View this message in context: http://www.nabble.com/Error-when-serving-large-Word-doc-tp14575610p14575610.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message