tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Stupid servlet mapping question.
Date Thu, 20 Feb 2003 18:06:34 GMT

Howdy,
There are no stupid questions.  In fact, as unfortunate as that may be,
a large number of questions on this list are not nearly as well defined
as yours.

>    <servlet>
>        <servlet-name>dolookup</servlet-name>
>        <servlet-class>boa.dolookup</servlet-class>
>    </servlet>
>.
>.
>    <servlet-mapping>
>    <servlet-name>dolookup</servlet-name>
>    <url-pattern>/appbase/dolookup*</url-pattern>
>    </servlet-mapping>

You want
<url-pattern>/dolookup</url-pattern>

No asterisk, no context name (/appbase in your case).  Url patterns are
relative to the context, so you don't need the context in there.  The
asterisk complicates the mapping unnecessarily.

Yoav Shapira
Millennium ChemInformatics



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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message