Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The default configuration (struts-default.xml configures the Dispatcher Result as the default result, which works welll with JavaServer Pages. Any JSP 1.2+ container can work with Struts 2 JSP tags immediately.

...

Because JSP support occurs through the Dispatcher Result, which is the default result type, you don't need to specify the type attribute when configuration struts.xml:

...