Installation guide
What’s New in iPlanet Web Server, Version 4.1
9
else if (value.equalsIgnoreCase("true"))
toBrowser = true;
else
toBrowser = false;
}
public int doStartTag() {
return EVAL_BODY_TAG;
}
public int doAfterBody() throws JspException {
try {
String s = bodyOut.getString();
System.err.println(s);
if (toBrowser)
bodyOut.writeOut(bodyOut.getEnclosingWriter());
return SKIP_BODY;
} catch (IOException ex) {
throw new JspException(ex.toString());
}
}
}
Step 3: Compile the Tag Handling Classes
Change to your work directory for the java classes (for example workarea/taglibs/examples) and
compile the classes, setting the appropriate classpaths. The following command must be all on one
line:
Step 4: Create the JAR File
From your work directory (for example workarea/taglibs), create a JAR file that contains your
taglib.tld file and the class files. Use the following command:
jar cvf ../test-tags.jar .
You should see the following output on the screen:
/usr/java1.2/bin/javac -classpath
java_home/jre/lib/rt.jar:server_root/bin/https/jar/servlets.jar:server_root/bin/http
s/jar/jspengine.jar *.java