We can specify the initial arguments for servlets in the servlets.properties file in the following way using the servlet name
servlet..initArgs=<name1=value1>,<name2=value2>,…
Could anybody please tell me how i can specify the default initial arguments for all the servlets.
Does servlets.default.initArgs=<name1=value1>,<name2=value2>,…
work in R6?
Thanks in advance
Subject: servlets.properties
The entire configuration for Domino servlets is incredibly primitive, and will probably remain primitive to encourage everybody to try out WebSphere. It is called marketing, and happens when bad management gets control of good software.
There were no changes to servlets.properties between R5 and D6.
There is no method to have initialization parameters that include commas or equal signs.
There is no method to set defaults for all servlets. I am not certain I would want one, because it sounds dangerous.
You probably should have a load-at-startup servlet that statically holds all server-wide variables. Load your initArgs into that one, then have the other servlets call the getServerVariable functions of that class.