I have a java servlet that sets a request attribute which is served for a particular page. On that page, there is some javascript to re-direct to a new page with window.location.href= ...
Will the request attribute be available in the redirected page? I realize this question is a bit confusing, I apologize for that, I'm not really sure how to explain it better, but I thank you in advance for your patience!
A new request will be created for the redirect and you will lose your request-scoped attributes. If you want to retain data, consider storing it in the session instead.