SE452: Web Applications [13/24] Previous pageContentsNext page

A Web Application is a collection of servlets, html files, JSPs, classes, and resources used by a servlet container

There is a one-to-one relationship between webapps and a ServletContext object

Web applications are a way to package an application for the servlet container and separate multiple applications from one another inside the same container

To create a web application context, the servlet container must be configured.

In Tomcat, the web application is placed in a directory under "tomcat_root"/webapps

The context must be configured for the application server to use it. Requests will be dispatched to that webapp based on the URI used to access it.

Previous pageContentsNext page