Actually my jsp have spring tags i'm sending form when hyperlink was clicked.My Jsp page is simple Login page when user is forgot password when enter the username(email) and click \[code\]Forgot password?\[/code\] mail will be send destination account.Problem is when we are click \[code\]submit\[/code\] button form will be sending but when i'm clicking \[code\]forgot password?\[/code\] hyperlink form values not sending it show null.Hear is my Jsp..\[code\]<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%><%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%><fieldset id="signin_menu"> <form:form action="login/processLogin" modelAttribute="LOGIN"> <label for="username">Username or email</label> <form:input path="userName" tabindex="4" /> </p> <p> <label for="password">Password</label> <formassword path="password" tabindex="5" /> </p> <p class="forgot"> <a href="http://stackoverflow.com/questions/15610851/login/forgotPassword" id="resend_password_link" onclick="return submitUserName();">Forgot your password?</a> </p> <p class="remember"> <input id="signin_submit" value="http://stackoverflow.com/questions/15610851/Sign in" tabindex="6" type="submit"> <input id="remember" name="remember_me" value="http://stackoverflow.com/questions/15610851/1" tabindex="7" type="checkbox"> <label for="remember">Remember me</label> </p> </form:form></fieldset><script> $('#LOGIN').ajaxForm({ target : '#body', success : function(responseText, statusText, xhr, $form) { alert(responseText); }, beforeSubmit : function() { $.blockUI({ message : '<h1> Just a moment...</h1>' }); } }); function submitUserName() { $('#LOGIN').submit(); }</script>\[/code\]Actually in my jsp i'm writing onclick function but also not working...Any mistake on my jsp code?\[code\]enter code here\[/code\]Please give me suggestions..