You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by BugRat Mail System <to...@cortexity.com> on 2001/01/02 08:29:13 UTC

BugRat Report #683 has been filed.

Bug report #683 has just been filed.

You can view the report at the following URL:

   <http://znutar.cortexity.com/BugRatViewer/ShowReport/683>

REPORT #683 Details.

Project: Tomcat
Category: Feature Requests
SubCategory: Enhancement
Class: suggest
State: received
Priority: high
Severity: serious
Confidence: public
Environment: 
   Release: Apache&tomcat
   JVM Release: 1
   Operating System: Solaris
   OS Release: 7
   Platform: ultra sparc

Synopsis: 
I can't change url to run servlet from http://...../examples/servlet/myservlet  to  http://...../examples/myservlet

Description:
I can't change url to run servlet from http://...../examples/servlet/myservlet  to  http://...../examples/myservlet.
What config file that i must config? server.xml , web.xml or others. 
Please tell me how to config this file step by step ... thank you.

I ever config file web.xml at line.....

<servlet-mapping>
        <servlet-name>
            invoker
        </servlet-name>
        <url-pattern>
            /servlet/*
        </url-pattern>
    </servlet-mapping>    .....To......

<servlet-mapping>
        <servlet-name>
            invoker
        </servlet-name>
        <url-pattern>
            /*
        </url-pattern>
    </servlet-mapping>

...And restart tomcat and Apache but It doesn 't work.