Respected PROGRAMMERS,
In Apache tomcat, there was a project created that included Servlets to service the incoming requests. And java class files were kept under
WEBINF\classes\com\example\web
Please tell me why the java files
need to include "package com.example.web" statement so
that their compiled classes may be kept in com\example\web folder.
Tomcat container can easily locate the class file because of the servlet mappings.
Why this package statement necessary?
Please forgive if you get angry at this.
Thank You SIR!