Cool, thanks Christopher, I was working on that same problem.

Now, can I also remove the app.name (which defualts, I think, to myapp)

So that I could type http://localhost:8080/dothis  where dothis is a
servlet.class?

Thanks!

Frank

----- Original Message -----
From: "Christopher K. St. John" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 14, 2002 1:48 PM
Subject: Re: Servlet Names -- ?? Modify Servlet Spec -- Comments ??


> 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
>
>

___________________________________________________________________________
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