OK, I'll admit right up front that this is probably stupid, but I'm
running into some strange problems that have been causing me no end of
grief.
 
I had a mapping working (or so I thought) and now I can't get it
working again.  In fact, none of my mappings seem to work.  I've been
through the mapping section in the Servlet Spec 2.3 and I've ran my code
through a XML validater.  So I'm hoping someone could take a look and
see what I'm not seeing.
 
I'm basically trying to map so that I can reference the servlet at the
following URL:
 
http://localhost:8080/appbase/servlet_alias
 
instead of
 
http://localhost:8080/appbase/servlet/servlet_name
 
 
The following is my web.xml entries:
 
.
.
.
    <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>
 
 
I have also tried :
 
    <servlet-mapping>
    <servlet-name>dolookup</servlet-name>
    <url-pattern>/dolookup*</url-pattern>
    </servlet-mapping>
 
Tomcat tells me that it's not available.  I can still reach the servlet
through the full servlet path.  It seems to be executing fine.  However,
as I'm trying to route data through many JSP to and from this servlet,
mapping seems to be essential.  I had this working and thought my
troubles were over but now it seems to be broken.  If anyone can give
some insight, I would greatly appreciate it.
 
Thanks


Reply via email to