Monday, December 1, 2014

web.xml tags

1. Loading a servlet as welcome file
We use <welcome-file-list> to configure the welcome file(like html, jsp) corresponding to application. But if we want to execute a servlet as a welcome file, then we need to give the respective servlet's URL pattern in the <welcome-file> tag.
eg:


2. load-on-startup tag:

No comments:

Post a Comment