web.xml - Directory Listings Sort Order in Tomcat 8 -
i enabled directory listings web-app using in web.xml
<init-param> <param-name>listings</param-name> <param-value>true</param-value> </init-param>
this works. sort order seems arbitratry. in folder files only, neither sorted name, size, nor modification date.
is there way controll sort order?
i added tomcat bugzilla, https://issues.apache.org/bugzilla/show_bug.cgi?id=57287
as wrokaround: defaultservlet can generate listing xml , can apply xslt transformation it. sorting can done within xslt.
Comments
Post a Comment