Servlet::ServletConfig - servlet configuration interface
my $name = $config->getServletName();
my @params = $config->getInitParameterNames();
for my $p (@params) {
print sprintf "%s: %s\n", $p, $config->getInitParameter($p);
}
my $context = $config->getServletContext();
This is the interface for an object used by a servlet container to pass
configuration information to a Servlet::Servlet during initialization.
The interface extends Servlet::Config.
- getServletName()
- Returns the name of the servlet instance. The name may be provided via
server administration, assigned in the web application deployment
descriptor, or for an unregistered (and thus unnamed) servlet instance it
will be the servlet's class name.
Brian Moseley, bcm@maz.org