This week's giveaway is in the Java/Jakarta EE forum. We're giving away four copies of Java EE 8 High Performance and have Romain Manni-Bucau on-line! See Posts that say "it isn't working" and just expect everyone else to solve your problems won't get you far either. Please follow the "smart questions" link in my sig for some tips on how to post in ways that will maximize your results.
Next thing you should do is to post your web.xml file so we can take a look at it. You should have realized that you'd need to do that by now.
But this example has nothing to do with the uri. the example runs. Thanks anyhow.
i found the following truth.
Everytime the jsp class file is compiled, the generated class file involves the web.xml also. The jsp file is re-compiled only after making some changes to the file. Otherwise the same class file will be used when you say re-load.
So what do i come to say? after making changes to the web.xml, we need the container to make the jsp recompile also. Otherwise the .class file generated with your previous web.xml file will be used.