Well,

Understand that once you enter the domain of having someone edit an XML
file, you are already into "error prone" territory.

You might consider changing the parameter to specify a file name. The
specified file could be formatted anyway you liked, but probably with
one value on each line of the file. Just have context listener read this
file at startup and place the array in the context.

Hope this helps - Richard

-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Konrad Billewicz
Sent: Friday, August 19, 2005 12:29 AM
To: tomcat-user@jakarta.apache.org
Subject: Re: Array as context parameter

Litty Preeth <iamlitty <at> yahoo.com> writes:

> Or u can use a comma separated list of strings and parse them using 
> StringTokenizer.

That sounds better. It's surely more user friendly. But the chance of an
error during entering coma-separated values is bigger. It's easy to
forget about coma or place dot. Are there any other solutions?

Best regards,
Konrad Billewicz



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to