This is a class from the Sun
J2EE reference example. It extends TagSupport and makes several calls to getValue(
String) and setValue(String, Object). What are these methods doing and/or what are they get/setting? It looks like some session or request scoped objects, but where are they coming from? Any ideas where I can find docs for classes like TagSupport (javax classes)? Thanks
public class CreateTemplateTag extends TagSupport {
public int doStartTag() {
Hashtable screens = null;
try{
// check for the template and create if it does not exist
if (templateName != null){
screens = (Hashtable)getValue("screens");
if (screens == null) {
setValue("screens", new Hashtable());
} else Debug.println("CreateTemplateTag: screens exits ");
}
} catch (Exception e){
Debug.println("CreateTemplateTag: Error in doStartTag: " + e);
}
return EVAL_BODY_INCLUDE;
}
}