I have a problem in deploying servlet in the JBoss4.2.2GA
My directory structure is as follows
under WEBTEST directory I have WEB-INF and a login form
2) inside WEB-INF directory I have my src and classes directory with package level structure.
I am using this command from command prompt to generate war file jar -cvf test1.war WEBTEST.*
now when I deploy the war file in the server's default deploy directory I am able to access the login form but when I press the submit button 404 error is comming . Even I have tried to just call servlet that will print hello world in the browser but the same 404 errror is comming .