Setting or changing servlet initialization properties

I have been supplied a WAR file that implements a set of Servlets. These servlets have configuration parameters available that have been defined by `@WebInitParam` annotations. For example:

@WebInitParam(
name = “log”,
value = “true”
)

My puzzle is that I don’t know how to set/over-ride the values of these initialization parameters in my WebSphere Liberty environment. In WAS ND, I would open the WAS admin console, navigate to my EAR and then my Web Module and I would then have a dashboard that permits change.

What function (assumed available) is existent in Liberty to allow me set the Servlet configuration parameters at deployment and/or run-time?

Related:

Leave a Reply