I'm totally new to this. I've started head first servlets and Jsp, and am having trouble with very first example Beer-v1. I've done everything as the book suggested. Form.html is working on tomcat, but when i click submit and reroute to servlet i get Error 404 resource not found error. I have compiled and placed the BeerSelect.class file at "webapps\Beer-v1\WEB-INF\Classes\com\example\web" in the tomcat folder.
I've seen my topics related to this, and i've tried all the suggestions. Still i'm getting the same error message.
I'm using jdk1.6.0_18, installed in C: drive, program files.. Appropriate class path have been set.
tomcat version is apache-tomcat-6.0.32, its installed in F: drive.. Is this causing any problem? should i install tomcat in C: drive itself?
hi i am also new to java, i also don't find anything wrong...i don't know why the servlet is not being called when everything is correct ??? Ya but the <body> tag in the HTML file is not closed properly .......it should be </body> and you have written <?body> I don't know whether this has any affect.but i am just pointing it out
Thanks for pointing it out.. that is exactly the type of mistakes i do and the reason i call myself as Darth Noob. As you said it does not make any difference. I'm still getting the same error.
I've seen many threads with this same problem and i dont find any conclusive solutions for this. Its been 2 days since i'm stuck here.
You are the experts and i'm just a noob, please tell me where i messed up.. I want to get this over with as soon as possible and then head over to struts and springs. phew talk about climbing mt.everest in a day.