FileDocCategorySizeDatePackage
InitSnoop.javaAPI DocExample612Thu Apr 05 01:23:16 BST 2001None

InitSnoop

public class InitSnoop extends GenericServlet

Fields Summary
Constructors Summary
Methods Summary
public voidservice(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res)

    res.setContentType("text/plain");
    PrintWriter out = res.getWriter();

    out.println("Init Parameters:");
    Enumeration enum = getInitParameterNames();
    while (enum.hasMoreElements()) {
      String name = (String) enum.nextElement();
      out.println(name + ": " + getInitParameter(name));
    }