I am having 4 jsp pages named login.jsp, redirecting.jsp, resultIE.jsp and resultSafari.jsp Also i have an Action method processLogin(). In the login page, user should enter username and password and press the submit button <html:submit>. On submitting the button the processLogin() method is executed and if user name and password is correct then it is going to redirecting.jsp. The redirecting.jsp is having javascript to detect the browser from which the request is comming. If the request is comming from Internet Explorer, it should redirect it to resultIE.jsp and if it is coming from Safari browser it should redirect it to resultSafari.jsp. This is working fine when i am using <html:submit> but when i am using <html:link> tag then it is not working. Please help me why html:link is not working in this situation?