i fairly new to java servlet.
Please forgive me if this question seems stupid.
I have add servlet mapping such as servlet class and url pattern using netbeans i
Yes, you need define index page for your web app and you can make redirect inside f.e. create page index.html with this contect
and then in web.xml
index.html