您可以在struts.xml中使用默认操作。请参阅http://struts.apache.org/2.x/docs/action-
configuration.html#ActionConfiguration-
ActionDefault。
如果您需要更复杂的解决方案,也可以
UnknownHandlers在Struts2中找到http://struts.apache.org/2.x/docs/unknown-
handlers.html。

您可以在struts.xml中使用默认操作。请参阅http://struts.apache.org/2.x/docs/action-
configuration.html#ActionConfiguration-
ActionDefault。
如果您需要更复杂的解决方案,也可以
UnknownHandlers在Struts2中找到http://struts.apache.org/2.x/docs/unknown-