Define servlet mapping.- Servlet mapping controls how you access a servlet.
- It is recommended that you don’t use absolute URLs. Instead usage of relative URLs should be done.
- If you try to deploy the application with a different context root, you might have to change all the URLs used in all the JSP programs.
- Relative URLs is the solution so that you can deploy your application with different context root without changing the URLs.
|