Multiple choice technology programming languages

To specify an ActionMapping to use when a request doesn't match any other mapping, you can

  1. Use an asterisk for the path property

  2. Set the "default" property of the mapping to "true"

  3. Set the "unknown" property of the mapping to "true"

  4. Set the "missing" init-param of the ActionServlet to the mapping's path

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Setting the unknown attribute to true on a Struts `` mapping designates it as the default action handler. If an incoming request path does not match any other defined action mapping, Struts routes the request to this action. Other options, such as using asterisks or default properties, are not supported in Struts configuration.