C
cvelusc
Morning!
Here's the situation: I have two servlet's. The first is initialized
once the Websphere project is started, the second is initialized once
the webpage has been visited.
I need to get the ServletConfig from the first servlet and pass that
object to the init method of the second servlet. How can I do this?
Is it possible to pass the implicit "config" object of jsp pages to
the java class that would then initialized the second servlet?
Could I grab the init parameters from the web.xml file and define my
own ServletConfig object?
The first servlet does allow me access to it's ServletContext. Could
I use this object somehow to define a ServletConfig?
Warm regards,
Christopher
Here's the situation: I have two servlet's. The first is initialized
once the Websphere project is started, the second is initialized once
the webpage has been visited.
I need to get the ServletConfig from the first servlet and pass that
object to the init method of the second servlet. How can I do this?
Is it possible to pass the implicit "config" object of jsp pages to
the java class that would then initialized the second servlet?
Could I grab the init parameters from the web.xml file and define my
own ServletConfig object?
The first servlet does allow me access to it's ServletContext. Could
I use this object somehow to define a ServletConfig?
Warm regards,
Christopher