أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
In Spring, you use Spring-Servlet.xml (or Dispatcher-Servlet.xml), which gets called on from your Servlet class name defined in your web.xml (after mapping the request URL pattern to its servlet name and then its Class in the web.xml). Inside the Spring-Servlet.xml, you defined various schema on top, followed by the call (reference) to your Controllers Class path.
In the Spring-Servlet.xml, you write all the annotations you have used used and define other features like maximum upload size, email protocol, etc.
There are usually following points of Errors:
--> Invalid/ Incomplete Jar files.
--> You forgot to define some annotations.
--> Wrongly mapped the Controllers class.
--> In case of Database connectivity, used wrong username and Password, etc