Web functionality for modules

Good day all

I’m developing a simple module to subscribe to tags within a folder, and periodically send information about those tags to a server. I would like to make the name of the tag folder to be monitored a configurable parameter of the module, and I want to use a web page as the module config page. I had a helpful suggestion to look at adding a servlet using context.addServlet() in the GatewayHook, but I have been unable to trigger the added servlet after the module is deployed.

I appreciate any help provided.

Thank you.