You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "David L. Wasler" <dw...@yahoo.com> on 2003/04/10 01:00:04 UTC

Block Displaying Directory of JSP

Hi All:

>From the browser URL line I enter

www.xxx.xxx:8080/david 

I get a directory listing of my JSP's

How do I stop the displaying a list of my JSP's 

I tried setting <param-name>listings</param-name>
      <param-value>false</param-value>

Still displayed directory of my JSP's.

webapps/webdav/WEB-INF/web.xml

<web-app>

  <servlet>
    <servlet-name>webdav</servlet-name>
   
<servlet-class>org.apache.catalina.servlets.WebdavServlet</servlet-class>
    <init-param>
      <param-name>debug</param-name>
      <param-value>0</param-value>
    </init-param>
    <init-param>
      <param-name>listings</param-name>
      <param-value>false</param-value>
    </init-param>
    <!-- Uncomment this to enable read and write
access -->
<!--
    <init-param>
      <param-name>readonly</param-name>
      <param-value>false</param-value>
    </init-param>
-->
    <!--load-on-startup>1</load-on-startup-->
  </servlet>

Thank You
DLWasler

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Block Displaying Directory of JSP

Posted by Erik Price <ep...@ptc.com>.

Tim Funk wrote:

> I wanted to make sure anyone reading this thread did not start to add 
> their own servlet declarations and mappings to conf/web.xml instead of 
> WEB-INF/web.xml. While someone can add their mappings to conf/web.xml, 
> doing  so will eventually result in something kludgy that supporting 
> will be tricky because everyone else expects mapping to be declared in 
> WEB-INF/web.xml.

Thank you for posting this.


Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Block Displaying Directory of JSP

Posted by Tim Funk <fu...@joedog.org>.
Yes, sorry I have been vague in this thread. My intention was to emphasize 
that one should "ignore" conf/web.xml or make every attempt to not change it. 
(Except to alter existing base functionality or remove functionality). 
Relying on conf/web.xml will result in a non-portable webapp since other 
application servers do not use 2 web.xml's. Some use properties files, others 
nothing at all where everything needs declared in your WEB-INF/web.xml, and 
others probably have another mechanism.

I wanted to make sure anyone reading this thread did not start to add their 
own servlet declarations and mappings to conf/web.xml instead of 
WEB-INF/web.xml. While someone can add their mappings to conf/web.xml, doing 
  so will eventually result in something kludgy that supporting will be 
tricky because everyone else expects mapping to be declared in WEB-INF/web.xml.

-Tim


Erik Price wrote:
> 
> 
> David L. Wasler wrote:
> 
>> Hi Tim:
>>
>> I tried to set it in my myapp/WEB-INF/web.xml, no
>> luck, so I had end up editing
>> $Tomcat_home/conf/web.xml
> 
> 
> I may be wrong but I thought Tomcat only re-reads the WEB-INF/web.xml 
> when you stop and then start the server (not when you reload it).  But 
> then, I would assume the same would be true of conf/web.xml.
> 
> 
> 
> Erik
> 
>  


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Block Displaying Directory of JSP

Posted by "David L. Wasler" <dw...@yahoo.com>.
Hi Erike:

I had to stop and restart Tomcat for it to work.

Thank You
David L. Wasler

--- Erik Price <ep...@ptc.com> wrote:
> 
> 
> David L. Wasler wrote:
> > Hi Tim:
> > 
> > I tried to set it in my myapp/WEB-INF/web.xml, no
> > luck, so I had end up editing
> > $Tomcat_home/conf/web.xml
> 
> I may be wrong but I thought Tomcat only re-reads
> the WEB-INF/web.xml 
> when you stop and then start the server (not when
> you reload it).  But 
> then, I would assume the same would be true of
> conf/web.xml.
> 
> 
> 
> Erik
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Block Displaying Directory of JSP

Posted by Erik Price <ep...@ptc.com>.

David L. Wasler wrote:
> Hi Tim:
> 
> I tried to set it in my myapp/WEB-INF/web.xml, no
> luck, so I had end up editing
> $Tomcat_home/conf/web.xml

I may be wrong but I thought Tomcat only re-reads the WEB-INF/web.xml 
when you stop and then start the server (not when you reload it).  But 
then, I would assume the same would be true of conf/web.xml.



Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Block Displaying Directory of JSP

Posted by "David L. Wasler" <dw...@yahoo.com>.
Hi Tim:

I tried to set it in my myapp/WEB-INF/web.xml, no
luck, so I had end up editing
$Tomcat_home/conf/web.xml


Thank You
DLWasler
 
--- Tim Funk <fu...@joedog.org> wrote:
> $Tomcat_home/conf is used by all webapps - This is
> most convenient for:
> - static mime mappings
> - declaration of the jsp engine
> - other container specific things
> 
> $Tomcat_home/webapps/myapp/WEB-INF/web.xml is the
> webapp most of us know love 
> and should configure. I'd stay away from
> $Tomcat_home/conf/web.xml unless you 
> need to change it.
> 
> -Tim
> 
> David L. Wasler wrote:
> > Hi Salina:
> > 
> > Thank you very much.
> > 
> > Question, what is the difference between web.xml
> in
> > $Tomcat_home/conf and
> > $Tomcat_home/webapps/webdav/WEB-INF/web.xml?
> > 
> > Cheers and Thank you very much.
> > 
> > DLWasler
> > 
> > --- Salina Cheung <sa...@yahoo.com> wrote:
> > 
> >>change the listings parameter to be "false" in
> >>tomcathome\conf\web.xml
> >>
> >>--- "David L. Wasler" <dw...@yahoo.com> wrote:
> >>
> >>>Hi All:
> >>>Forgot to tell you, I'm using Tomcat406
> >>>Cheers
> >>>DLWasler
> >>>
> >>>--- "David L. Wasler" <dw...@yahoo.com> wrote:
> >>>
> >>>>Hi All:
> >>>>
> >>>>From the browser URL line I enter
> >>>>
> >>>>www.xxx.xxx:8080/david 
> >>>>
> >>>>I get a directory listing of my JSP's
> >>>>
> >>>>How do I stop the displaying a list of my JSP's 
> >>>>
> >>>>I tried setting
> >>
> >><param-name>listings</param-name>
> >>
> >>>>      <param-value>false</param-value>
> >>>>
> >>>>Still displayed directory of my JSP's.
> >>>>
> >>>>webapps/webdav/WEB-INF/web.xml
> >>>>
> >>>><web-app>
> >>>>
> >>>>  <servlet>
> >>>>    <servlet-name>webdav</servlet-name>
> >>>>   
> >>>>
> >>>
> >
>
<servlet-class>org.apache.catalina.servlets.WebdavServlet</servlet-class>
> > 
> >>>>    <init-param>
> >>>>      <param-name>debug</param-name>
> >>>>      <param-value>0</param-value>
> >>>>    </init-param>
> >>>>    <init-param>
> >>>>      <param-name>listings</param-name>
> >>>>      <param-value>false</param-value>
> >>>>    </init-param>
> >>>>    <!-- Uncomment this to enable read and write
> >>>>access -->
> >>>><!--
> >>>>    <init-param>
> >>>>      <param-name>readonly</param-name>
> >>>>      <param-value>false</param-value>
> >>>>    </init-param>
> >>>>-->
> >>>>    <!--load-on-startup>1</load-on-startup-->
> >>>>  </servlet>
> >>>>
> >>>>Thank You
> >>>>DLWasler
> >>>>
> >>>>
> >>
> >>__________________________________________________
> >>
> >>>>Do you Yahoo!?
> >>>>Yahoo! Tax Center - File online, calculators,
> >>>
> >>>forms,
> >>>
> >>>>and more
> >>>>http://tax.yahoo.com
> >>>>
> >>>>
> >>>
> >
>
---------------------------------------------------------------------
> > 
> >>>>To unsubscribe, e-mail:
> >>>>tomcat-user-unsubscribe@jakarta.apache.org
> >>>>For additional commands, e-mail:
> >>>>tomcat-user-help@jakarta.apache.org
> >>>>
> >>>
> >>>
>
>>>__________________________________________________
> >>>Do you Yahoo!?
> >>>Yahoo! Tax Center - File online, calculators,
> >>
> >>forms,
> >>
> >>>and more
> >>>http://tax.yahoo.com
> >>>
> >>>
> >>
> >
>
---------------------------------------------------------------------
> > 
> >>>To unsubscribe, e-mail:
> >>>tomcat-user-unsubscribe@jakarta.apache.org
> >>>For additional commands, e-mail:
> >>>tomcat-user-help@jakarta.apache.org
> >>>
> >>
> >>
> >>__________________________________________________
> >>Do you Yahoo!?
> >>Yahoo! Tax Center - File online, calculators,
> forms,
> >>and more
> >>http://tax.yahoo.com
> >>
> >>
> > 
> >
>
---------------------------------------------------------------------
> > 
> >>To unsubscribe, e-mail:
> >>tomcat-user-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail:
> >>tomcat-user-help@jakarta.apache.org
> >>
> > 
> > 
> > 
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Tax Center - File online, calculators,
> forms, and more
> > http://tax.yahoo.com
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> > 
> > 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Block Displaying Directory of JSP

Posted by Tim Funk <fu...@joedog.org>.
$Tomcat_home/conf is used by all webapps - This is most convenient for:
- static mime mappings
- declaration of the jsp engine
- other container specific things

$Tomcat_home/webapps/myapp/WEB-INF/web.xml is the webapp most of us know love 
and should configure. I'd stay away from $Tomcat_home/conf/web.xml unless you 
need to change it.

-Tim

David L. Wasler wrote:
> Hi Salina:
> 
> Thank you very much.
> 
> Question, what is the difference between web.xml in
> $Tomcat_home/conf and
> $Tomcat_home/webapps/webdav/WEB-INF/web.xml?
> 
> Cheers and Thank you very much.
> 
> DLWasler
> 
> --- Salina Cheung <sa...@yahoo.com> wrote:
> 
>>change the listings parameter to be "false" in
>>tomcathome\conf\web.xml
>>
>>--- "David L. Wasler" <dw...@yahoo.com> wrote:
>>
>>>Hi All:
>>>Forgot to tell you, I'm using Tomcat406
>>>Cheers
>>>DLWasler
>>>
>>>--- "David L. Wasler" <dw...@yahoo.com> wrote:
>>>
>>>>Hi All:
>>>>
>>>>>From the browser URL line I enter
>>>>
>>>>www.xxx.xxx:8080/david 
>>>>
>>>>I get a directory listing of my JSP's
>>>>
>>>>How do I stop the displaying a list of my JSP's 
>>>>
>>>>I tried setting
>>
>><param-name>listings</param-name>
>>
>>>>      <param-value>false</param-value>
>>>>
>>>>Still displayed directory of my JSP's.
>>>>
>>>>webapps/webdav/WEB-INF/web.xml
>>>>
>>>><web-app>
>>>>
>>>>  <servlet>
>>>>    <servlet-name>webdav</servlet-name>
>>>>   
>>>>
>>>
> <servlet-class>org.apache.catalina.servlets.WebdavServlet</servlet-class>
> 
>>>>    <init-param>
>>>>      <param-name>debug</param-name>
>>>>      <param-value>0</param-value>
>>>>    </init-param>
>>>>    <init-param>
>>>>      <param-name>listings</param-name>
>>>>      <param-value>false</param-value>
>>>>    </init-param>
>>>>    <!-- Uncomment this to enable read and write
>>>>access -->
>>>><!--
>>>>    <init-param>
>>>>      <param-name>readonly</param-name>
>>>>      <param-value>false</param-value>
>>>>    </init-param>
>>>>-->
>>>>    <!--load-on-startup>1</load-on-startup-->
>>>>  </servlet>
>>>>
>>>>Thank You
>>>>DLWasler
>>>>
>>>>
>>
>>__________________________________________________
>>
>>>>Do you Yahoo!?
>>>>Yahoo! Tax Center - File online, calculators,
>>>
>>>forms,
>>>
>>>>and more
>>>>http://tax.yahoo.com
>>>>
>>>>
>>>
> ---------------------------------------------------------------------
> 
>>>>To unsubscribe, e-mail:
>>>>tomcat-user-unsubscribe@jakarta.apache.org
>>>>For additional commands, e-mail:
>>>>tomcat-user-help@jakarta.apache.org
>>>>
>>>
>>>
>>>__________________________________________________
>>>Do you Yahoo!?
>>>Yahoo! Tax Center - File online, calculators,
>>
>>forms,
>>
>>>and more
>>>http://tax.yahoo.com
>>>
>>>
>>
> ---------------------------------------------------------------------
> 
>>>To unsubscribe, e-mail:
>>>tomcat-user-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail:
>>>tomcat-user-help@jakarta.apache.org
>>>
>>
>>
>>__________________________________________________
>>Do you Yahoo!?
>>Yahoo! Tax Center - File online, calculators, forms,
>>and more
>>http://tax.yahoo.com
>>
>>
> 
> ---------------------------------------------------------------------
> 
>>To unsubscribe, e-mail:
>>tomcat-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail:
>>tomcat-user-help@jakarta.apache.org
>>
> 
> 
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - File online, calculators, forms, and more
> http://tax.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Block Displaying Directory of JSP

Posted by "David L. Wasler" <dw...@yahoo.com>.
Hi Salina:

Thank you very much.

Question, what is the difference between web.xml in
$Tomcat_home/conf and
$Tomcat_home/webapps/webdav/WEB-INF/web.xml?

Cheers and Thank you very much.

DLWasler

--- Salina Cheung <sa...@yahoo.com> wrote:
> change the listings parameter to be "false" in
> tomcathome\conf\web.xml
> 
> --- "David L. Wasler" <dw...@yahoo.com> wrote:
> > Hi All:
> > Forgot to tell you, I'm using Tomcat406
> > Cheers
> > DLWasler
> > 
> > --- "David L. Wasler" <dw...@yahoo.com> wrote:
> > > Hi All:
> > > 
> > > From the browser URL line I enter
> > > 
> > > www.xxx.xxx:8080/david 
> > > 
> > > I get a directory listing of my JSP's
> > > 
> > > How do I stop the displaying a list of my JSP's 
> > > 
> > > I tried setting
> <param-name>listings</param-name>
> > >       <param-value>false</param-value>
> > > 
> > > Still displayed directory of my JSP's.
> > > 
> > > webapps/webdav/WEB-INF/web.xml
> > > 
> > > <web-app>
> > > 
> > >   <servlet>
> > >     <servlet-name>webdav</servlet-name>
> > >    
> > >
> >
>
<servlet-class>org.apache.catalina.servlets.WebdavServlet</servlet-class>
> > >     <init-param>
> > >       <param-name>debug</param-name>
> > >       <param-value>0</param-value>
> > >     </init-param>
> > >     <init-param>
> > >       <param-name>listings</param-name>
> > >       <param-value>false</param-value>
> > >     </init-param>
> > >     <!-- Uncomment this to enable read and write
> > > access -->
> > > <!--
> > >     <init-param>
> > >       <param-name>readonly</param-name>
> > >       <param-value>false</param-value>
> > >     </init-param>
> > > -->
> > >     <!--load-on-startup>1</load-on-startup-->
> > >   </servlet>
> > > 
> > > Thank You
> > > DLWasler
> > > 
> > >
> __________________________________________________
> > > Do you Yahoo!?
> > > Yahoo! Tax Center - File online, calculators,
> > forms,
> > > and more
> > > http://tax.yahoo.com
> > > 
> > >
> >
>
---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > > tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
> > > tomcat-user-help@jakarta.apache.org
> > > 
> > 
> > 
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Tax Center - File online, calculators,
> forms,
> > and more
> > http://tax.yahoo.com
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> > tomcat-user-help@jakarta.apache.org
> > 
> 
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - File online, calculators, forms,
> and more
> http://tax.yahoo.com
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Block Displaying Directory of JSP

Posted by Salina Cheung <sa...@yahoo.com>.
change the listings parameter to be "false" in
tomcathome\conf\web.xml

--- "David L. Wasler" <dw...@yahoo.com> wrote:
> Hi All:
> Forgot to tell you, I'm using Tomcat406
> Cheers
> DLWasler
> 
> --- "David L. Wasler" <dw...@yahoo.com> wrote:
> > Hi All:
> > 
> > From the browser URL line I enter
> > 
> > www.xxx.xxx:8080/david 
> > 
> > I get a directory listing of my JSP's
> > 
> > How do I stop the displaying a list of my JSP's 
> > 
> > I tried setting <param-name>listings</param-name>
> >       <param-value>false</param-value>
> > 
> > Still displayed directory of my JSP's.
> > 
> > webapps/webdav/WEB-INF/web.xml
> > 
> > <web-app>
> > 
> >   <servlet>
> >     <servlet-name>webdav</servlet-name>
> >    
> >
>
<servlet-class>org.apache.catalina.servlets.WebdavServlet</servlet-class>
> >     <init-param>
> >       <param-name>debug</param-name>
> >       <param-value>0</param-value>
> >     </init-param>
> >     <init-param>
> >       <param-name>listings</param-name>
> >       <param-value>false</param-value>
> >     </init-param>
> >     <!-- Uncomment this to enable read and write
> > access -->
> > <!--
> >     <init-param>
> >       <param-name>readonly</param-name>
> >       <param-value>false</param-value>
> >     </init-param>
> > -->
> >     <!--load-on-startup>1</load-on-startup-->
> >   </servlet>
> > 
> > Thank You
> > DLWasler
> > 
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Tax Center - File online, calculators,
> forms,
> > and more
> > http://tax.yahoo.com
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> > tomcat-user-help@jakarta.apache.org
> > 
> 
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - File online, calculators, forms,
> and more
> http://tax.yahoo.com
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Block Displaying Directory of JSP

Posted by "David L. Wasler" <dw...@yahoo.com>.
Hi All:
Forgot to tell you, I'm using Tomcat406
Cheers
DLWasler

--- "David L. Wasler" <dw...@yahoo.com> wrote:
> Hi All:
> 
> From the browser URL line I enter
> 
> www.xxx.xxx:8080/david 
> 
> I get a directory listing of my JSP's
> 
> How do I stop the displaying a list of my JSP's 
> 
> I tried setting <param-name>listings</param-name>
>       <param-value>false</param-value>
> 
> Still displayed directory of my JSP's.
> 
> webapps/webdav/WEB-INF/web.xml
> 
> <web-app>
> 
>   <servlet>
>     <servlet-name>webdav</servlet-name>
>    
>
<servlet-class>org.apache.catalina.servlets.WebdavServlet</servlet-class>
>     <init-param>
>       <param-name>debug</param-name>
>       <param-value>0</param-value>
>     </init-param>
>     <init-param>
>       <param-name>listings</param-name>
>       <param-value>false</param-value>
>     </init-param>
>     <!-- Uncomment this to enable read and write
> access -->
> <!--
>     <init-param>
>       <param-name>readonly</param-name>
>       <param-value>false</param-value>
>     </init-param>
> -->
>     <!--load-on-startup>1</load-on-startup-->
>   </servlet>
> 
> Thank You
> DLWasler
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - File online, calculators, forms,
> and more
> http://tax.yahoo.com
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Block Displaying Directory of JSP

Posted by "David L. Wasler" <dw...@yahoo.com>.
Hi All:
Forgot to tell you, I'm using Tomcat406
Cheers
DLWasler

--- "David L. Wasler" <dw...@yahoo.com> wrote:
> Hi All:
> 
> From the browser URL line I enter
> 
> www.xxx.xxx:8080/david 
> 
> I get a directory listing of my JSP's
> 
> How do I stop the displaying a list of my JSP's 
> 
> I tried setting <param-name>listings</param-name>
>       <param-value>false</param-value>
> 
> Still displayed directory of my JSP's.
> 
> webapps/webdav/WEB-INF/web.xml
> 
> <web-app>
> 
>   <servlet>
>     <servlet-name>webdav</servlet-name>
>    
>
<servlet-class>org.apache.catalina.servlets.WebdavServlet</servlet-class>
>     <init-param>
>       <param-name>debug</param-name>
>       <param-value>0</param-value>
>     </init-param>
>     <init-param>
>       <param-name>listings</param-name>
>       <param-value>false</param-value>
>     </init-param>
>     <!-- Uncomment this to enable read and write
> access -->
> <!--
>     <init-param>
>       <param-name>readonly</param-name>
>       <param-value>false</param-value>
>     </init-param>
> -->
>     <!--load-on-startup>1</load-on-startup-->
>   </servlet>
> 
> Thank You
> DLWasler
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - File online, calculators, forms,
> and more
> http://tax.yahoo.com
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org