Originally posted by Bear Bibeault:
I still don't get the filter. Why not just declare a controller servlet as the error handler in the deployment descriptor and handle any decision making there?
Originally posted by Doug Hall:
IDs are better for the same reason that database keys should not be an attribute - because attributes can change. This is better for the user, too, by the way, due to bookmarking.
Originally posted by Jeanne Boyarsky:
I was looking around for something similar a couple of months ago. Didn't find anything though. I did learn that I really only need to provide a subset of UBB. Our users don't require anywhere near the level of sophistication that JavaRanch users do.
Originally posted by Paul Sturrock:
You might try HttpServletRequest.getRequestURL() - that might give you it (assuming #baz is not also considered part of the query string). Given the purpose of fragments though, why does your servlet need it?
Originally posted by Ben Souther:
No, HttpServletRequest.getRequestURI will get you from the protocol name up to the query string.
From there, you're on your own.