I am resending this and hoping to get some information/solution from
someone.

Shiow-Hwa Gau wrote:

> We have a page that when users click the submit button, it collects data
> from
> database and writes to a Word text document for users to save into their
>
> local machine.  We use the following code:
>
> CSpStringOutputStream ostream = CSpider.getOutputStream();
> CSpHttp.reset();
> CSpHtml.setAutoMode(false);
> ostream.writeln("Content-type: application/msword\n");
> ostream.writeln("........................");
> ostream.writeln(".....................");
> ...........
> ...........
>
> //At the end of ostream.writeln(), we do
> CSpHttp.flush(ostream);
>
> My problem is that the CSpStringOutputStream seems can only hold up to
> a certain size or amount of paragraphs (in our case, something like
> 130KB)
> of strings.  All the rest of strings got truncated and there was no
> warning
> or error messages during the CSpStringOutputStream.writeln or
> CSPHttp.flush.
> Does anyone know how to increase the size of CSpStringOutputStream, or
> CSpStringOutputStream has limited usage of writeln(), or we are missing
> something in our code?
>
> Any help will be greatly appreciated.

_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to