Directory structure of web application:

We have to follow some directory structure before deploying our web application.
Here MyTestApp is the root directory.
Static contents like html and jsps will be inside the root directory. JSP pages can be also inside the WEB-INF directory.
There will be a folder WEB-INF immediately inside root. And a classes folder immediately inside the WEB-INF. The .class files will go inside the classes.
The lib folder immediately inside WEB-INF. The jar files must be immediately inside lib.
Web.xml must be immediately inside WEB-INF

No comments:

Post a Comment