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


Manual Reference Pages  -  SERVLET::CONFIG (3)

.ds Aq ’

NAME

Servlet::Config - configuration super interface

CONTENTS

SYNOPSIS



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

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

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



DESCRIPTION

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 <B>Servlet::ServletContextB> object, which gives the calling object information about the web container.

METHODS

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

<B>Parameters:B>
$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 <B>Servlet::ServletContextB> object representing the web context in which the caller is executing.

SEE ALSO

Servlet::ServletContext

AUTHOR

Brian Moseley, bcm@maz.org
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 SERVLET::CONFIG (3) 2001-07-13

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