Can I increase the default JSP Buffer Size?

Discussions

Web tier: servlets, JSP, Web frameworks: Can I increase the default JSP Buffer Size?

  1. Can I increase the default JSP Buffer Size? (3 messages)

    Is it possible to increase the default JSP buffer size from 8k in Weblogic 7.0SP2.

    We're hitting a problem with the buffer being flushed before we'd expect it and want a quick and dirty solution initially.

    We can then investigate it fully once we fixed the failures.

    Thanks,
    Richard Kenyon

    Threaded Messages (3)

  2. You can ad in the page directive the attribute "buffer" like this:
    <%@ page buffer="64kb" ... %>

    David
  3. Replace buffer size[ Go to top ]

    I did have a buffer size problem, and I used a line like this to replace them.

    /usr/bin/perl -pi -e 's|buffer="64kb"|buffer="4096kb"|g' `find . -type f -name '*.jsp'`
  4. .[ Go to top ]

    Hi,

    Thanks. Reading my post again, I didn't give all the information :-)

    I realise I can change each page manually using the page directive, but I was after a quick and dirty global fix that changed the buffer size for all JSP's.

    I've since spoken with BEA, and it turns out that this is not possible.

    Anyway, it turns out it wasn't the buffer size after all :-)

    Thanks,
    Richard Kenyon