In the sitemap:
<map:generate type="xsp" src="foo.xsp">
<map:parameter name="ipaddr" value="127.0.0.1"/>
</map:generate>
In the XSP:
String ipaddr = parameters.getParameter("ipaddr");
HTH, Alfred.
-----Original Message-----
From: Barodawala, Ali [mailto:[EMAIL PROTECTED]
Sent: Montag, 14. Februar 2005 18:50
To: [email protected]
Subject: Deployment Questions
I have a set of XSP files that invoke Web Services. These services are
currently invoked using a hard-coded IP. For purposes of deployment,
however, I would like to control these IPs via a configuration so that I
can
have a single point of maintenance for all IPs. Can I do this via the
cocoon.xconf file or the sitemap files?
Please advise..
Ali
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]