Versions Compared

Key

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

...

The above code is different from the original one in the sense that we have added another <servlet> for Controller1 which is mapped to the same servlet class. Similarly adding a <servlet-mapping> element for the Controller1 servlet. This feature is basically mapping of more than one servlet with same servlet class. This helps in routing each call from jsp in the Controller servlet.

Run and Deploy

  1. Right click on