Ideally, yes, that is what I would like. If the container's response is generated from /index.jsp, and the current page is generated from /index.jsp, then that should be true. (can worry about query string later).
To me, this seems to be the safest way to deal with servlet-mapping and welcome-file-list.
At worst, I'd like to have the default file stripped off and compare paths (assuming the same domain). I think this approach is safe for standard pagination links.
Joined: Jun 27, 2002
I wonder how normal smart people smartly handle this common problem.