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.
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.
Servlet::Config
Brian Moseley, bcm@maz.org
To install Servlet, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Servlet
CPAN shell
perl -MCPAN -e shell install Servlet
For more information on module installation, please visit the detailed CPAN module installation guide.