Hi Bear,
Thanks for the post!
There was a typo in my first post:
(1) http://localhost:8080/<context_name>/redirect.text?url=http://www.yahoo.com
shoud read:
<a href="http://localhost:8080/<context_name>/redirect.<b rel="nofollow">
test</b>?url=http://www.yahoo.com" target="_blank">
http://localhost:8080/<context_name>/redirect.
test?url=http://www.yahoo.com
Here are the servlet mapping in the DD (web.xml):
Further, I get the following errors:
(1) When accessed by URL-
http://localhost:8080/<context_name>/redirect.test?url=http://www.yahoo.com Browser Error:
HTTP Status 404 - /<context_name>/url=http://www.yahoo.com
(2) When accessed by URL-
http://localhost:8080/<context_name>/servlet/com.abc.RedirectServlet?url=http://www.yahoo.com Browser Error:
HTTP Status 404 - /<context_name>/servlet/url=http://www.yahoo.co
I have no clue that where has the question-mark (?) in the query string gone.
Any help shall be highly appreciated.
Thanks,
Reema