IntelliJ Java IDE
The moose likes Tomcat and the fly likes problem with invoker or descriptor Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "problem with invoker or descriptor" Watch "problem with invoker or descriptor" New topic
Author

problem with invoker or descriptor

William Quantrill
Ranch Hand

Joined: Dec 23, 2002
Posts: 36
Im trying to use the invoker to call servlets that i just drop in the classes directory under a web app. i can call my servlet in the default web app, but not in mine. i think maybe the web.xml file is not right or possibly my context isnt defined correctly under the server.xml file
ideas /suggestions ?


"The Rebel army is now the legitimate property of the Army of the Potomac." - Joseph Hooker spoke these pompous words shortly before he was soundly defeated by Robert E. Lee at Chancellorsville
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 11863
The invoker is off by default in Tomcat 4 - look at the ../conf/web.xml file - it has lots of comments. The examples web.xml has the invoker on.
Using the invoker leads to innumerable troubles later - bite the bullet and configure your servlets in web.xml. (Also - always put servlets in a package - you will be glad you did.)
Bill
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

InvokerFAQ
 
 
subject: problem with invoker or descriptor
 
Threads others viewed
Tomcat startup problems (MySQL driver)
HTTP Status 404 - Servlet Not Found
is web.xml compulsory
how do i solve this error caused due to problem in spring initiation on tomcat
Head first Servlets first example
IntelliJ Java IDE