ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

Mohd Muzammil
من قبل Mohd Muzammil , Software Developer , Virtual Supportsoft

A deployment descriptor refers to a configuration file for an artifact that is deployed to some container/engine in JSP.

Khaled Beshawri
من قبل Khaled Beshawri , Facilities Projects & Maintenance Engineer , Saudi Electricity Company

Three Courses at least to be as professional

Shareef Hiasat
من قبل Shareef Hiasat , Development lead and senior java developer , Sajilni

First of all you need to read more about servlets revolution

Generally speaking, this is the configuration file of web applications in java. It instructs the servlet container (tomcat for ex.) which classes to load, what parameters to set in the context, and how to intercept requests coming from browsers.

There you specify:

  • what servlets (and filters) you want to use and what URLs you want to map them to
  • listeners - classes that are notified when some events happen (context starts, session created, etc)
  • configuration parameters (context-params)
  • error pages, welcome files
  • security constriants

In servlet3.0 many of the web.xml parts are optional. These configurations can be done via annotations (@WebServlet, @WebListener)

المزيد من الأسئلة المماثلة

هل تحتاج لمساعدة في كتابة سيرة ذاتية تحتوي على الكلمات الدلالية التي يبحث عنها أصحاب العمل؟