Hi,

        You can set the Directory listing to false in Web.xml file in order
to avoid displaying Directory contents.
Use the <Param-name> element  to

    <servlet>
        <servlet-name>default</servlet-name>

<servlet-class>org.apache.catalina.servlets.DefaultServlet</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>                  // Make it
true for listing Directory file and Sub Dirctories
        </init-param>
        <load-on-startup>1</load-on-startup>
    </servlet>


And  set Your Home page the deafult Access in Welcome List in web.xml

For Welcome list

    <welcome-file-list>
         <welcome-file>YourHomePage.html</welcome-file>
        <welcome-file>index.html</welcome-file>
        <welcome-file>index.htm</welcome-file>
        <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>

bye,
inr




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

Reply via email to