bundles/org.apache.jasper.glassfish/src/org/apache/jasper/runtime/BodyContentImpl.java
public void write(String s, int off, int len) throws IOException {
	if (writer != null) {
	    writer.write(s, off, len);
	} else {
	    ensureOpen();
	    if (len >= bufferSize - nextChar)
		reAllocBuff(len);

	    s.getChars(off, off + len, cb, nextChar);
	    nextChar += len;
	}
    }
public void write(String s, int off, int len) throws IOException {
	if (writer != null) {
	    writer.write(s, off, len);
	} else {
	    ensureOpen();
	    if (len >= bufferSize - nextChar)
		reAllocBuff(len);

	    s.getChars(off, off + len, cb, nextChar);
	    nextChar += len;
	}
    }
public void write ( String s , int off , int len ) throws IOException { if ( writer != null ) { writer . write ( s , off , len ) ; } else { ensureOpen ( ) ; if ( len >= bufferSize - nextChar ) reAllocBuff ( len ) ; s . getChars ( off , off + len , cb , nextChar ) ; nextChar += len ; } }
Write a portion of a String.

@param s String to be written
@param off Offset from which to start reading characters
@param len Number of characters to be written
Write a portion of a String .