Dear friend i don't know about other servers but as far as tomcat is concerned the listing is very easy.
Proivde a link of rlative path and your are on.
I mean incae you have given relative path as /sharad which means c:/sharad/jsp
and your site is
www.my.com if your type
www.my.com/sharad you will have listing of all files and folder in c:/sharad/jsp listed.. try it.