Dears,
I would like to try using a servlet inside a custom module.
I am able to add/remove the servlet in the gateway hook of the module, via:
gatewayContext.getWebResourceManager().addServlet({servlet}.PATH, {servlet}.class);
gatewayContext.getWebResourceManager().removeServlet({servlet}.PATH);
I am wondering if I would be able to access, from the servlet, a class object instantiated in the startup of the module gateway hook.
Thank you.
Best regards.