GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Servlet::Config(3) User Contributed Perl Documentation Servlet::Config(3)

Servlet::Config - configuration super interface

  my @params = $config->getInitParameterNames();

  for my $p (@params) {
      print sprintf "%s: %s\n", $p, $config->getInitParameter($p);
  }

  my $context = $config->getServletContext();

This is the super interface for objects in the Servlet API that pass configuration information to Servlets or Filters during initialization. The configuration information contains initialization parameters, which are a set of name/value pairs, and a Servlet::ServletContext object, which gives the calling object information about the web container.

getInitParameter($name)
Returns the value of the named initialization parameter, or undef if the parameter does not exist.

Parameters:

$name
The name of the initialization parameter
getInitParameterNames()
Returns an array containing the names of the servlet's initialization parameters, or an empty array if the servlet has no initialization parameters.
getServletContext()
Returns the Servlet::ServletContext object representing the web context in which the caller is executing.

Servlet::ServletContext

Brian Moseley, bcm@maz.org
2001-07-13 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.