SE452: Deploying a web app - expanded war file [21/24] Previous pageContentsNext page

Copy the configured web.xml to WebApp/WEB-INF

for example, with Context se452, it goes to "tomcat_home"/webapps/se452/WEB-INF/

with Context myapp, it goes to C:\MyApps\WEB-INF\

Then, copy servlet class files ( HelloServlet.class ) to WebApp/WEB-INF/classes

for context se452 it goes in"tomcat_home"/webapps/se452/WEB-INF/classes/

for context myapps it goes in C:\MyApp\WEB-INF\classes\

This is known as expanded (or exploded) war format... we'll discuss war files in a minute

Previous pageContentsNext page