-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Rahul,
On 4/24/19 09:39, Rahul Ranjan wrote: > I am facing an issue. I have a link > [*href="http://pacir.st.tmt.com/nosrw/data/cast/data/*] to "*CAST > Reports*" on my webpage, that redirects to the directory on my > server "*/opt/app/pacir/nwpeb/data/cast/data/*" and shows entire > files and folders of directory in browser. _* Code to redirect: *_ > <tr> <td> </td> <td class=message> <a > href="http://pacir.st.tmt.com/nosrw/data/cast/data/" > onMouseOver="self.status = ''; return true" onMouseOut="self.status > = ''; return true">CAST Reports</a><br> </td> </tr> > > > The issue is the files and folder is not showing in a sorted order. > I am attaching you a screenshot for your reference. The default servlet doesn't have any documentation to suggest how things might be sorted by default, or that sorting is an option *at all* . > As I know by default Apache-Tomcat displays the files in a sorted > order. Does it? > I don't know why it's behaving like that. > > Please help me to know, why it's displaying in unsorted order? FWIW, Tomcat 8.0.x has reached end-of-life[1]. The currently supported versions of Tomcat are: 7.0.x, 8.5.x, 9.0.x. There is a bug filed against Tomcat 7.0.x and 8.0.x which deals with thi s: https://bz.apache.org/bugzilla/show_bug.cgi?id=57287 It looks like it's been ignored for 4.5 years. Are you interested in testing the existing patch to see if it works for you? - -chris [1] http://tomcat.apache.org/tomcat-80-eol.html -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlzAh0wACgkQHPApP6U8 pFjQGg//bS9O8arJzOuSB8LticHouhtrjar0GBsrBZWehma5+doiH9zcQhircS9g ZX4Yfe17/0aPZkP5fUjThQotZhi7HFzij0yaLf8UkamqmT/0XtPFDFLtofNikSKA xBm19tfpEHqaIqyQ9oH5BOBLVlrbLdtVVshOs814nImd6KlC3lXxrmLJWtw0jcOn 8ttKqMDMJrp0tM6quZgan0bBrNzO1xv1hS2B7r1X9bWOuwjdtuFHHEXjYcSTTO+Y Upx8w3NZpLwyuiunNgN+Ta0dSOZ58wQJfKqM6og58FONDmveDNqMhlD3ChfCcmRk V3T6x70KIEZf6NrzYO7ZYJJrZv/FjNarHplxvEAm6B2rZ9z/4p2bx4r4pE0bs0Xc mrqO2k3MmsC7XlzcyjnsT9GmHfWt+C6XZz8lhzfkB24EzyzZ/9KmgvT2acBUfXv3 NKDOiPaZxzRkoHrrUKLolR6WajDqdA2TuD96ifWFttTGgfesg1LuiKtGl1K9sLq2 tG+cGFiNMYHpTVUBDwHJK/JkRyjQIDxCsJaXOJBJvAdFKi0u7XX51o6it2AdsKnO 7loKEYx+Be8Bv+8uasr30EulUnkYRurG/k99i4AIzhpv1RFUh4CjahoLqLcuOXXl HttOxP824LlxP0iXoJVwMBIUWPuIEPpiMNjB5t1FT1o9zlqd+kE= =XA9B -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org