Create a mapping in the web.xml file that looks something like:
<servlet>
        <servlet-name>
                nameServlet
        </servlet-name>
        <servlet-class>
                com.my.name.servlet
        </servlet-class>
</servlet>
<servlet-mapping>
        <servlet-name>
                nameServlet
        </servlet-name>
        <url-pattern>
                /mypath/name_servlet
        </url-pattern>
</servlet-mapping>

        Or edit and recompile the invoker
(org.apache.tomcat.servlets.InvokerServlet) so that watches for the URLs
that you want it to look for.

        Randy

-----Original Message-----
From: Luis Calderón [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 19, 2001 5:28 AM
To: '[EMAIL PROTECTED]'
Subject: path for SERVLETS


Hello list:

i want to change the path for servlets execution,this path is  for default
/servlet/name_servlet ... but i want run servlets in my custom path .. 

for example /mypath/name_servlet 

(without the path called "servlet" i like replacement this path)


Saludos
Luis Calderón Puertas
Analista de Sistemas y Soporte
Area de Soporte - TEKTRON SA.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to