Skip to Content.
Sympa Menu

shibboleth-dev - Re: AA on shib2 broken

Subject: Shibboleth Developers

List archive

Re: AA on shib2 broken


Chronological Thread 
  • From: Walter Hoehn <>
  • To: "'Shibboleth Design Team'" <>
  • Cc: Scott Cantor <>, "'Parviz Dousti'" <>
  • Subject: Re: AA on shib2 broken
  • Date: Wed, 24 Apr 2002 23:21:27 -0400

The <init-param> element can only reside inside a <servlet> element and only applies to a single servlet, but you can use <context-param>, which is a child of <web-app>. This works similarly to <init-param>, except the parameters are available to all servlets in the context via ServletContext.getInitParameter() .


Hope this helps,
-Walter

Scott Cantor wrote:

Any good sugestions as how to store parameters to be shared among two servlets?


Can't they share parameters if they're part of the same web application?
I thought those settings were accessible to any servlet using that
deployment descriptor.

If not, they could just be duplicated across the servlets, or a separate
properties file could be used. For now, I'd just do whatever's easiest.

-- Scott




------------------------------------------------------mace-shib-design-+
For list utilities, archives, subscribe, unsubscribe, etc. please visit the
ListProc web interface at
http://archives.internet2.edu/

------------------------------------------------------mace-shib-design--




Archive powered by MHonArc 2.6.16.

Top of Page