title: Display alert before redirecting struts action
body: <p>I have a registration page with typical registration fields i will redirect user to login page by struts action if registration got successful i.e. unique username, valid recaptcha etc. But flaw in this approach is that user will not come to know that his registration got successful. How to show him successful registration message before redirecting to another page</p>