tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Mixon (qwest)" <>
Subject RE: Array as context parameter
Date Fri, 19 Aug 2005 16:00:37 GMT

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 [] On Behalf Of Konrad Billewicz
Sent: Friday, August 19, 2005 12:29 AM
Subject: Re: Array as context parameter

Litty Preeth <iamlitty <at>> 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:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message