Search Interview Questions | ![]() ![]() Click here and help us by providing the answer. ![]() Click Correct / Improve and please let us know. |
|
| ||||
Java EE - Interview Questions and Answers for 'Web.xml' - 4 question(s) found - Order By Newest | ||||
![]() | ||||
| ||||
Ans. Deployment Descriptor which is usually web.xml is used to specify the classes, resources and configuration of the application and how the web server uses them to serve web requests.This file is usually added to WEB-INF folder and contains following * Servlet entries and url mapping * Plugins * Some info regarding authentication / filters * Landing Page * Event Handlers | ||||
![]() | ||||
![]() ![]() ![]() ![]() ![]() ![]() | ||||
![]() | ||||
| ||||
Ans. Yes by making entries in web.xml | ||||
![]() | ||||
![]() ![]() ![]() | ||||
| ||||
Ans. No, there is no relationship between web.xml and spring.xml but you have to configure spring.xml in web.xml in order initialize beans when application starts up | ||||
![]() | ||||
![]() ![]() ![]() ![]() | ||||
| ||||
Ans. filter tag speficies the filter name and respective class for handling filter action whereas filter mapping maps the filter to the url patterns ( specifying the url that needs to be intercepted ) | ||||
![]() | ||||
![]() ![]() ![]() | ||||