Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Servlet not working  RSS feed

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..?
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!