خرید بک لینک

Vote count: 0

I am new to Servlets. I am going through the basics and i discovered that even i put the name of different servlest in these tags

 <servlet-name>  </servlet-name>
    <servlet-class>  </servlet-class>

then also it works fine.

I want to know that what's the importance of presence of web.xml in a servlet project and how does it controls the execution of servlets ?

asked 1 min ago

1 Answer

Vote count: 0

For a Java servlet to be accessible from a browser, you must tell the servlet container what servlets to deploy, and what URL's to map the servlets to. This is done in the web.xml file of your Java web application.

answered 25 secs ago

- - , .

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 17 اسفند 1394 ساعت: 23:20

صفحه بندی