In Java I have a block of code that processes an Apache web server log, and checks the URL extension type. It works well when the URL is in the format "/index.html", but occasionally the URL is "/", which breaks the code.In Java I have a block of code that processes a