This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
</servlet-mapping> If we change it to
</servlet-mapping> Then also it works and the path ends with dom.....So how come the url pattern is getting changed , is it controlled by the framework, in normal serlvets ...it happens other way around like in address bar we write http://localhost:8080/myweb/data.dom... it checks for the url pattern and ask for the respective servlet , if I am not wrong.....