You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Aron Sogor <as...@netcentives.com> on 2001/01/22 20:24:43 UTC

RE: ezmlm response

How can I get a hold of ServletContext in a Producer?

Can any body give advise or pointers?

The problem I am trying to solve is to get a hold of a property file for one
of my producer.
To do that I want to add the location of the propeties file into the web.xml
as a parameter for Cocoon.
Later at runtime pull the path/location from servletcontext.
I don't want to hardcode.
Any suggestion?

Aron Sogor

-----Original Message-----
From: cocoon-users-help@xml.apache.org
[mailto:cocoon-users-help@xml.apache.org]
Sent: Monday, January 22, 2001 11:23 AM
To: asogor@netcentives.com
Subject: ezmlm response


Hi! This is the ezmlm program. I'm managing the
cocoon-users@xml.apache.org mailing list.

No information has been provided for this list.

--- Administrative commands for the cocoon-users list ---

I can handle administrative requests automatically. Please
do not send them to the list address! Instead, send
your message to the correct command address:

To subscribe to the list, send a message to:
   <co...@xml.apache.org>

To remove your address from the list, send a message to:
   <co...@xml.apache.org>

Send mail to the following for info and FAQ for this list:
   <co...@xml.apache.org>
   <co...@xml.apache.org>

Similar addresses exist for the digest list:
   <co...@xml.apache.org>
   <co...@xml.apache.org>

To get messages 123 through 145 (a maximum of 100 per request), mail:
   <co...@xml.apache.org>

To get an index with subject and author for messages 123-456 , mail:
   <co...@xml.apache.org>

They are always returned as sets of 100, max 2000 per request,
so you'll actually get 100-499.

To receive all messages with the same subject as message 12345,
send an empty message to:
   <co...@xml.apache.org>

The messages do not really need to be empty, but I will ignore
their content. Only the ADDRESS you send to is important.

You can start a subscription for an alternate address,
for example "john@host.domain", just add a hyphen and your
address (with '=' instead of '@') after the command word:
<co...@xml.apache.org>

To stop subscription for this address, mail:
<co...@xml.apache.org>

In both cases, I'll send a confirmation message to that address. When
you receive it, simply reply to it to complete your subscription.

If despite following these instructions, you do not get the
desired results, please contact my owner at
cocoon-users-owner@xml.apache.org. Please be patient, my owner is a
lot slower than I am ;-)

--- Enclosed is a copy of the request I received.

Return-Path: <as...@netcentives.com>
Received: (qmail 98242 invoked from network); 22 Jan 2001 19:22:35 -0000
Received: from mail.netcentives.com (HELO vwall.netcentives.com)
(63.204.145.4)
  by h31.sny.collab.net with SMTP; 22 Jan 2001 19:22:35 -0000
Received: from 10.67.8.24 by vwall.netcentives.com (InterScan E-Mail
VirusWall NT); Mon, 22 Jan 2001 11:13:43 -0800 (Pacific Standard Time)
Received: from kent.netcentives.com ([10.67.8.25]) by
mailman.netcentives.com with SMTP (Microsoft Exchange Internet Mail Service
Version 5.5.2653.13)
	id C5Q5JKRH; Mon, 22 Jan 2001 11:06:50 -0800
Received: by kent.netcentives.com with Internet Mail Service (5.5.2653.19)
	id <ZYPRWXXQ>; Mon, 22 Jan 2001 11:06:50 -0800
Message-ID: <58...@kent.netcentives.com>
From: Aron Sogor <as...@netcentives.com>
To: "'cocoon-users-info@xml.apache.org'"
	 <co...@xml.apache.org>
Subject: Getting SevletContext
Date: Mon, 22 Jan 2001 11:06:46 -0800
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N


How can I get a hold of ServletContext in a Producer?

Can any body give advise or pointers?

The problem I am trying to solve is to get a hold of a property file for one
of my producer.
To do that I want to add the location of the propeties file into the web.xml
as a parameter for Cocoon.
Later at runtime pull the path/location from servletcontext.
I don't want to hardcode.
Any suggestion?

Aron Sogor