Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

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

user-image
Question ajoutée par SravanKumar Palepalli
Date de publication: 2013/11/12
lalit singhal
par 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