Tony LaPaso wrote:
>
> What I'm finding (and I don't like) is that I can invoke this
> servlet either by its "servlet name" or its fully-qualified
> class name:
>    URL #1: http://myHost/servlet/HelloWorld
>    URL #2: http://myHost/servlet/com/abc/def/HelloWorld
>


 The '/servlet/*' mapping is a Tomcat-only thing. It's not
part of the spec, and you can turn it off if you want.

 If you're using Tomcat 4, then go to conf/web.xml and look
for the line:

  <!-- ================== Built In Servlet Definitions ==================== -->

 Underneath that there's a servlet declaraation and a
servlet mapping. Delete them. Now Tomcat will only use
the mappings you explicitly declare.

 Tomcat 3 has something similiar.


--
Christopher St. John [EMAIL PROTECTED]
DistribuTopia http://www.distributopia.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to