Sunday, 22 November 2015

In java web applications, you can directly access jsp files without any configuration. For example, http://localhost:8080/SimpleWebapp/Index.jsp, in this link we are requesting index.jsp directly without any config.

But if you have placed your jsp files inside WEB-INF directory(see in the image - Welcome.jsp), you can't access directly. For this you need to configure the jsp in web.xml.