Alternatively, you want:
<url-pattern>>/appbase/dolookup/*</url-pattern>

With Yoav's suggestion, you can't get any PATH_INFO.  With mine you can.
Depends on what you want.  What the Servlet-spec doesn't allow is that you
can't match a path like: "/appbase/dolookup5" with your pattern.

"Shapira, Yoav" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to