Can you please tell me if there is a solution to my problem?
You are going to have to rethink the nature of your problem. Normally requests like /index.html are handled by the "default" servlet as defined in the base web.xml. You have defined your servlet as a replacement for the default servlet so it gets all "/" requests.
Thanks. Here is what I want to accomplish: My webapp context name is "testApp".
If user hits 'http://localhost:8080/testApp/?lang=en', return '/index.html' If user hits 'http://localhost:8080/testApp/?lang=jp', return '/index_jp.html' If user hits 'http://localhost:8080/testApp/TestServlet1?lang=jp', invoke TestServlet1 with the query string.