I wanted to port an application from Tomcat to JBoss. I copied the war file from tomcat to JBoss. I was getting error in executing the servlet from JBoss . Then i just created a simple application with 1 servlet in new.war file which has the following structure
/web.xml (this maps com.servlet.TestServlet to Test)
When i tried http://localhost/new/Test.html
When i tried http://localhost/new/servlet/Test
it does'nt work and
the error from JBoss-Tomcat is "404 requested resource not found(new/servlet/Test).
Do u have any idea why its not working..?