Results 1 to 12 of 12

Thread: web.xml ?

  1. #1
    Registered User
    Join Date
    Oct 2015
    Location
    India
    Posts
    177

    web.xml ?

    Hello Dear,

    Please Tell Me What is web.xml ?

  2. #2
    Registered User
    Join Date
    Apr 2019
    Location
    Bhilai, Chhattisgarh
    Posts
    78
    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.

  3. #3
    Senior Member
    Join Date
    Feb 2015
    Location
    Bangalore
    Posts
    528
    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 | Best Website Design Company in Bangalore | Website Designing Company in Bangalore | Web Designing Company in Bangalore

  4. #4
    Senior Member
    Join Date
    Sep 2018
    Location
    Pune
    Posts
    123
    Web.xml defines mapping between URL paths and servlets that handle requests with those paths.

  5. #5
    Senior Member
    Join Date
    Sep 2019
    Posts
    285
    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.

  6. #6
    Registered User
    Join Date
    Mar 2019
    Location
    Ahmedabad
    Posts
    180
    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.

  7. #7

  8. #8
    Senior Member
    Join Date
    Nov 2018
    Posts
    1,853
    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.

  9. #9
    Senior Member dennis123's Avatar
    Join Date
    Apr 2013
    Location
    Bangalore
    Posts
    3,627
    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

  10. #10
    Senior Member
    Join Date
    Nov 2018
    Posts
    1,348
    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.

  11. #11
    Registered User
    Join Date
    Feb 2020
    Location
    USA
    Posts
    6
    It is the configuration file of web applications in java.

  12. #12
    Senior Member
    Join Date
    Nov 2018
    Posts
    1,853
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.