I made those two changes - but I still don't get any directory listing
(I can get a file if I name it specifically - so I know that that
context is working)

Is my path correct for the web.xml file?  Or am I missing something else?

Thanks,

Dan

On Dec 14, 2007 3:17 PM, Caldarale, Charles R
<[EMAIL PROTECTED]> wrote:
> > From: Dan Armbrust [mailto:[EMAIL PROTECTED]
> > Subject: directory listings per webapp
> >
> > <Context path="/foo" docBase="/dir/foo" debug="0" privileged="false">
> > </Context>
>
> Broken record: take out the path attribute; it's not allowed (but it's
> not this problem).
>
> >     <servlet-mapping>
> >         <servlet-name>foo</servlet-name>
> >         <url-pattern>/foo/*</url-pattern>
> >     </servlet-mapping>
>
> Change the <url-pattern> to this:
> <url-pattern>/</url-pattern>
>
>  - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to