tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weilu Yao" <yaowe...@hotmail.com>
Subject Support Extra Path?
Date Thu, 25 May 2000 15:47:08 GMT
Dear Gurus,

I have a stupid question. I want to do sth
using extra path. Let me say I would like
to use the following URL:

http://127.0.0.1:8080/servlet/myservlet/myfilefolder/myfile.txt

The following is the pertinet contents in my web.xml file

    <servlet>
      <servlet-name>
	myservlet
      </servlet-name>
      <servlet-class>
         com.cayenta.shopping.LoadServlet
      </servlet-class>
        <init-param>
            <param-name>stylesheet</param-name>
            <param-value> /myfilefolder/myfile.txt </param-value>
        </init-param>
    </servlet>

I have tried several places but I failed. Could anybody
enlighten me? I am using Tomcat 3.1.

Thank you a million!

Wei Lu


________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


Mime
View raw message