I am using a Control servlet with websphere test environment with vaj 3.5 with servlet 2.1 .
I am having a problem with getting the init parms with the command -
Enumeration enum = getInitParameterNames();
The enum comes out to be null.
Looking at the console i noticed that the servlet invoker loads the servlet initialization parms when the wte environment is being setup and loads the Control servlet. I tried changing the default_app.webapp for the autostartto make it false so that the invoker doesn't run the init parameter but then it doesn't load the init parms at all as i see in the Console.
<autostart> was set to true initially and then though the servlet init parms are loaded when the WTE starts up and shows up in the console, my program doesn't seem to pick up the init parms when i run my servlet even though it goes through the init(ServletConfig) method. I also have a super(Servletconfig) as the first statement to save the ServletConfig information.
Any help is appreciated,