Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet not working

Arun Shanmugham
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
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 it works.
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..?
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic