apache - Tomcat without index.html show files in directory -
i wondering how make tomcat show files in directory when index.html not in root directory? gives me error page.
description requested resource (/tutorials/ios/exercise-files/ex_files_ios4_web_apps/ch02/) not available.
open tomcat's own /conf/web.xml
file (or 1 in servers project if you're using eclipse), find <servlet>
entry of defaultservlet
, change listings
initialization parameter false
true
.
<init-param> <param-name>listings</param-name> <param-value>true</param-value> </init-param>
Comments
Post a Comment