This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Please note that one URL has context name as 'servlets' and other has it as 'servlet'.
Now when we deploy an application in Oracle 10g, it asks fr URL mapping. I provided this URL mapping as 'servlets' (i couldnt figure out any other way to avoid changing the URL being accessed.).
Thus now URL 1 is working fine, but URL 2 gives a 404(file not found) error, which is obvious as there is no application context as servlet. I can access HelloWorld Servlet using the URL http://<serverName>:<port>/servlets/HelloWorld , i.e. using 'servlets' and not 'servlet'.
Is there any way win which i can access HelloWorld by the URL 2.
Vins it will be better if you update the url mapping properties from web.xml file... I believe that you first application was hit for that both URL. as you don't have HelloWorld in you first application it throws 404...