Artur Rataj wrote: > Hello. I have the following servlet definition: > > <servlet> > <servlet-name>Listings</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>true</param-value> > </init-param> > <load-on-startup>1</load-on-startup> > </servlet> > > <servlet-mapping> > <servlet-name>Listings</servlet-name> > <url-pattern>/listings</url-pattern> > </servlet-mapping> > > It did say resource not available until I created a directory `listings' in > the > application directory. Then it become to show an empty directory listing. > I then created various files in the directory, but the directory listing > was still empty, even after page reload. What did I wrong?
The way the default servlet works, if it isn't mapped to '/', it won't work properky. Mark --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]