• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

page not found error

 
Veena Pointi
Ranch Hand
Posts: 442
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In core Serclets and JSP by marty hall 2nd edition book it is given ,to uncomment line servlet-mapping element in web.xml file in order to enable invoker servlet.But when I do that and verify by running command catalina run from c:\tomcat\bin directory I am getting the following error.
SEVERE: Parse error in default web.xml
java.lang.IllegalArgumentException: Servlet mapping specifies an unknown servlet name invoker
Please Can anybody help me out?
Veena
 
Kris Schneider
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Make sure you uncomment both the <servlet> and the <servlet-mapping> elements for the invoker servlet.
[ January 06, 2004: Message edited by: Kris Schneider ]
 
Veena Pointi
Ranch Hand
Posts: 442
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no <servlet> tag for invoker servlet
 
Kris Schneider
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Search for "<servlet-name>invoker</servlet-name>". It should appear twice: once within <servlet> and once within <servlet-mapping>.
 
Veena Pointi
Ranch Hand
Posts: 442
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks kris.That was brilliant .

Thanks again.
Veena
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic