debuggingstruts2runtimestruts2-config-browser

is it posible to display all the loaded mappings and configs within Struts2 while running?


I often get confused with various cases of the incorrect config for Struts2. Such as after modified packages or classes.

The bootstrap log of Struts2 shows hardly any detail on loaded mappings.

I want to list all the loaded configures at running time. How to do it ?


Solution

  • Use the Config Browser.

    A nice example is here.

    Just be sure to use the same version as your other Struts2 dependencies.