Red Hat NETSCAPE ENTERPRISE SERVER 6.1 - PROGRAMMER GUIDE TO SERVLETS Instalační příručka Strana 8

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 72
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 7
Whats New in iPlanet Web Server, Version 4.1
8 iPlanet Web Server, Enterprise Edition Release Notes June 20, 2001
pageContext.setAttribute("member", atts[i]);
i++;
return EVAL_BODY_TAG;
} catch (IOException ex) {
throw new JspException(ex.toString());
}
}
}
Here is the FooTagExtraInfo.java file:
package examples;
import javax.servlet.jsp.tagext.*;
public class FooTagExtraInfo extends TagExtraInfo {
public VariableInfo[] getVariableInfo(TagData data) {
return new VariableInfo[]
{
new VariableInfo("member",
"String",
true,
VariableInfo.NESTED)
};
}
}
Here is the LogTag.java file:
package examples;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
import java.io.IOException;
/**
* Log the contents of the body. Could be used to handle errors etc.
*/
public class LogTag
extends ExampleTagBase
implements BodyTag
{
boolean toBrowser = false;
public void setToBrowser(String value) {
if (value == null)
toBrowser = false;
Zobrazit stránku 7
1 2 3 4 5 6 7 8 9 10 11 12 13 ... 71 72

Komentáře k této Příručce

Žádné komentáře