multiple servlets and same init parameter
843841Dec 24 2004 — edited Dec 25 2004Hi all,
More than one of my servlets use the same init parameters. Currently, I am repeating the same parameter entries to all relevant <servlet> elements in web.xml. This is the surest way that the parameters will be available to each servlet. What I am looking for is a way, if any, of writing the parameters only once in web.xml and make them available to specified servlets. Is this possible?
I am just trying to make web.xml a bit neater.
Thank you.