using ubuntu 10.04
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.1) (6b18-1.8.1-0ubuntu1)
OpenJDK Server VM (build 16.0-b13, mixed mode)
editor: vi
No - all web application URLs are relative to the context they are deployed in. This will only work if the application is deployed as the root application (to use Tomcat's term).
So you need a web application deployed with the with the context "Beer-v1". This is case sensitive. If you deploy a static file at the root of this web application can you access this no problem? (e.g. http://localhost:8080/Beer-v1/test.html)
In your web.xml you need a mapping for /SelectBeer.do. Again this is case sensitive - is it there?
Hi Nexus,
I think you must have not restarted the server after you made changes in web.xml. Next time you make changes to web.xml, try restarting the server and check
SCJP 1.5 | SCWCD 5 | SCJP 6.0
[url]http://a2zjava.webs.com[/url] - Online training for Java/JSPs and Servlets/SCJP/SCWCD
http://soniyaahuja.webs.com
This tiny ad is suggesting that maybe she should go play in traffic.
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth