pratapsiva sivakumar wrote:I want to know the diiference between <welcome-file-list> tag and <load-on-startup> tag in web.xml file of servlet?
Welcome file list is the place you can define the files to be served when the user doesn't request a particular URL
pattern but trying to access a particular directory inside the web app so container can serve a file inside that directory defined under the welcome files. "<load-on-startup>" (with a value larger than 0) inside the "<servlet>" tag tells the container to load and have the servlet instance ready at the server startup rather than loading and instantiating it at the first client request.