Re: directory listings per webapp

2007-12-14 Thread Dan Armbrust
There is a typo in the below. This tomcat/server/webapps/billing/WEB-INF/web.xml Should have been tomcat/server/webapps/foo/WEB-INF/web.xml So thats not the problem. Dan On Dec 14, 2007 3:10 PM, Dan Armbrust [EMAIL PROTECTED] wrote: I want to create a webapp that just lists the content of

RE: directory listings per webapp

2007-12-14 Thread Caldarale, Charles R
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

RE: directory listings per webapp

2007-12-14 Thread Caldarale, Charles R
From: Dan Armbrust [mailto:[EMAIL PROTECTED] Subject: Re: directory listings per webapp I made those two changes - but I still don't get any directory listing What do you get? Did you restart Tomcat (or insure that the webapp was otherwise redeployed)? What version of Tomcat are you using

Re: directory listings per webapp

2007-12-14 Thread Dan Armbrust
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

Re: directory listings per webapp

2007-12-14 Thread Dan Armbrust
Probably not. You specified a docBase of /dir/foo for the foo webapp, but appear to have been editing webapps/foo/WEB-INF/web.xml, which is not where you've told Tomcat the app is deployed. It's extremely bad practice to have a directory under the Host appBase that's the same as one for an

RE: directory listings per webapp

2007-12-14 Thread Caldarale, Charles R
From: Dan Armbrust [mailto:[EMAIL PROTECTED] Subject: Re: directory listings per webapp Thanks a lot. I'll see if I can get access to http://wiki.apache.org/tomcat/FAQ/Miscellaneous and update the answer to this question - since the current answer is pretty poor. In what way

Re: directory listings per webapp

2007-12-14 Thread Dan Armbrust
On Dec 14, 2007 4:17 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Dan Armbrust [mailto:[EMAIL PROTECTED] Subject: Re: directory listings per webapp Thanks a lot. I'll see if I can get access to http://wiki.apache.org/tomcat/FAQ/Miscellaneous and update the answer