bundles/org.apache.jasper.glassfish/src/org/apache/jasper/compiler/ServletWriter.java
public void printMultiLn(String s) {
        int index = 0;

        // look for hidden newlines inside strings
        while ((index=s.indexOf('\n',index)) > -1 ) {
            javaLine++;
            index++;
        }

	writer.print(s);
    }
public void printMultiLn(String s) {
        int index = 0;

        // look for hidden newlines inside strings
        while ((index=s.indexOf('\n',index)) > -1 ) {
            javaLine++;
            index++;
        }

	writer.print(s);
    }
public void printMultiLn ( String s ) { int index = 0 ; // look for hidden newlines inside strings while ( ( index = s . indexOf ( ' ' , index ) ) > - 1 ) { javaLine ++ ; index ++ ; } writer . print ( s ) ; }
Prints the given string.

If the string spans multiple lines, the line count will be adjusted
accordingly.
Prints the given string .