How to query the servlet container to obtain effective URL from a ServletContextListener?
问题 In extension to this question is there a way to obtain the effective URL of a specific page in the same container from the scope of a ServletContextListener ? A bit of background why I need this : Within a fairly complex system I have setup a simple servlet to display the current information in JSON so I can display it easily on demand. Now I want to go one step further and keep a historical record of this to see the evolution in time of these measurement points. I have setup a simple