Log in

View Full Version : web.xml ?



joyadelfin
08-14-2019, 05:11 AM
Hello Dear,

Please Tell Me What is web.xml ?

shakuntalavidya
08-16-2019, 02:58 AM
Web.xml file is the configuration file of web applications in java. It instructs the servlet container which classes to load, what parameters to set in the context, and how to intercept requests coming from browsers. Web.xml is called as deployment descriptor file.

bangalorewebgur
08-31-2019, 04:29 AM
Java web applications use a deployment descriptor file to determine how URLs map to servlets, which URLs require authentication, and other information. web.xml is part of the servlet standard for web applications.


Web Development Companies in Bangalore (https://www.bangalorewebguru.in) | Best Website Design Company in Bangalore (https://www.bangalorewebguru.in) | Website Designing Company in Bangalore (https://www.bangalorewebguru.in) | Web Designing Company in Bangalore (https://www.bangalorewebguru.in)

Amitkumar
09-10-2019, 04:46 AM
Web.xml defines mapping between URL paths and servlets that handle requests with those paths.

Paro
11-21-2019, 07:32 AM
The web.xml file is the deployment descriptor for a Servlet-based Java web application (which most Java web apps are). Among other things, it declares which Servlets exist and which URLs they handle. The part you cite defines a Servlet Filter.

Sherin
11-27-2019, 12:12 AM
web.xml is the configuration file of web applications in java. It is present in the WEB-INF folder. It is also known as deployment descriptor and it plays very important role in mapping and url-hiding.

It instructs the servlet container which classes to load, what parameters to set in the context, and how to intercept requests coming from browsers.

davidweb09
12-16-2019, 10:59 AM
We use Web.xml file in Java programming language for software development. https://iacupunctureca.com/

yuva12
02-05-2020, 09:05 AM
The web. xml file is the deployment descriptor for a Servlet-based Java web application (which most Java web apps are). Among other things, it declares which Servlets exist and which URLs they handle. The part you cite defines a Servlet Filter. Servlet filters can do all kinds of preprocessing on requests.

dennis123
02-05-2020, 11:19 PM
Hi Friends,

When we create a dynamic web project in java we include a xml file called web.xml in the project. It is also called deployment descriptor.

It instructs the servlet container (e.g Tomcat) which classes to load, what parameters to set in the context, and how to intercept requests coming from browsers.

In a web.xml we have entries of the following:


Servlets and URL patterns to invoke them.
Filters and their mappings.
Listeners - classes that are notified when some events happen (context starts, session created, etc)
Configuration parameters (context-params)
Error pages, welcome files
Security constriants

Saravanan28
02-11-2020, 08:53 AM
The web. xml file is the deployment descriptor for a Servlet-based Java web application (which most Java web apps are). Among other things, it declares which Servlets exist and which URLs they handle. The part you cite defines a Servlet Filter. Servlet filters can do all kinds of preprocessing on requests.

semidotinfotech
02-14-2020, 02:59 AM
It is the configuration file of web applications in java.

yuva12
03-06-2020, 04:19 AM
The web. xml file is the deployment descriptor for a Servlet-based Java web application (which most Java web apps are). Among other things, it declares which Servlets exist and which URLs they handle. The part you cite defines a Servlet Filter. Servlet filters can do all kinds of preprocessing on requests.