Howdy,
I've spent 6-8 hours trying to figure out why Tomcat (ver 4.1.27) could
not
find servlet classes using a standard
http://localhost:8080/%CATALINA_HOME%/appdir/servlet/ServletName url.
Your first mistake is assuming the above URL is a standard. It's not,
and the servlet specification does not mandate that a servlet container
support such URLs.
The solution was finally found in a devshed forum -- the invoker
servlet
mapping has been commented out of the conf/web.xml file in the binary
distribution.
Why
The invoker servlet was disabled for security reasons. This is in the
release notes for every tomcat version since 4.1.18. It's also in the
tomcat FAQ (http://jakarta.apache.org/tomcat/faq), and has been
discussed many times on this list (so searching the list archives would
have revealed this information). Many books, as is nearly always the
case for this field, are out of date.
Yoav Shapira
This e-mail, including any attachments, is a confidential business communication, and
may contain information that is confidential, proprietary and/or privileged. This
e-mail is intended only for the individual(s) to whom it is addressed, and may not be
saved, copied, printed, disclosed or used by anyone else. If you are not the(an)
intended recipient, please immediately delete this e-mail from your computer system
and notify the sender. Thank you.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]