Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

What is the procedure of webmodule in spring and how to rectify the erros if it comes?

user-image
Question added by SravanKumar Palepalli
Date Posted: 2013/11/12
lalit singhal
by lalit singhal , Software Trainee , Pratham IT Solutions

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

More Questions Like This