1 30 31 package com.caucho.eswrap.javax.servlet.jsp; 32 33 import com.caucho.es.Call; 34 35 import javax.servlet.jsp.JspWriter ; 36 37 public class JspWriterEcmaWrap { 38 public static void write(JspWriter os, Call call, int length) 39 throws Exception  40 { 41 for (int i = 0; i < length; i++) { 42 os.print(call.getArg(i, length)); 43 } 44 } 45 46 public static void writeln(JspWriter os, Call call, int length) 47 throws Exception  48 { 49 for (int i = 0; i < length; i++) { 50 os.print(call.getArg(i, length)); 51 } 52 53 os.println(); 54 } 55 } 56 | Popular Tags |