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

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -