As another performance-focused method for reuse: It should be easier to obtain the "complete" URL from a HttpServletRequest in Java.
This is even a popular question on Stack Overflow: HttpServletRequest to complete URL - though I have various issues with each of the current answers.
Like something you see?
Please feel free to make a comment, or link to here from your site!
Please sign-in (using a Blogger, Google, or OpenID login) to post any comments; otherwise, please at least post your name.
If you don't want your name behind a comment, it probably doesn't belong on my blog.
While I appreciate comments, I reserve the right to remove any comment for any reason, including inappropriate content, spam, or other additions with zero-value.
(Even constructive criticism has value!)
All comments are now moderated due to spam and other abuse.
No comments:
Post a Comment