DebuggingInterceptor: the interceptor processes the seventh position of defaultStack. It can be called for debugging. I personally think that although the interceptor contains the most code, it is the most useless Interceptor. This interceptor mainly provides several debugging screens, because if we want to view the data stored in ActionContext or ValueStack, struts2 also provides a <s: debug> label. You only need to add this label to the page, and the data stored in ActionContext or ValueStack is clear, and no parameters need to be passed, so here is a brief introduction. The interceptor provides four debug screens: 1.XML. This method outputs the data in parameters (parameter), context, session, and value stack to the browser in the form of an XML file. console this method will pop up an OGNL debugging console in the browser to test the data in the value stack in the form of OGNL expressions 3. command is used to test the OGNL expression and return a string. to use the browser to list the attributes and attribute values of a specified object, struts2 must process the development mode, that is, set <constant name = "struts. devMode "value =" true "/>, of course, you can use the properties file, and then set the debug mode in the request parameters, the request parameters corresponding to the above four methods are: http: // host: port/path? Debug = xml, http: // host: port/path? Debug = console, http: // host: port/path? Debug = command, http: // host: port/path? Debug = browser is to pass a debug parameter to specify which debugging method to use.