I am implementing a Restful Web Service using Jersey. I want to show index.jsp as welcome page.
<%@page contentType=\"text/html\" pageEncoding=\"UTF-8\"%&
Well servlet mapping calls your servlet. If you want to create a homepage then you should not give /* to the servlet because it will overlap.
When your url pattern is /whatever
your servlet will run under localhost:8080/myApp/whatever
and and homepage will have Localhost:8080/myApp
. However whn you define your url pattern as /*
both your servlet and home page have tha same place. So remove your servlet mapping or give it a different place other than /*