Guest User

Untitled

a guest
Aug 22nd, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. access form data in a jsp
  2. <form name="f" action="<c:url value='j_spring_security_check'/>" method="POST">
  3. <table>
  4. <tr><td>User:</td><td><input type='text' name='j_username' value='<c:if test="${not empty param.login_error}"><c:out value="${SPRING_SECURITY_LAST_USERNAME}"/></c:if>'/></td></tr>
  5. <tr><td>Password:</td><td><input type='password' name='j_password'></td></tr>
  6. <s:select list="#{'Gross':'Gross','PP1A':'PP1A','PP1B':'PP1B','PP1C':'PP1C'}" label="Component"
  7. name="component" headerKey="-1" headerValue="-- Please Select --"/>
  8.  
  9. <tr><td colspan='2'><input name="submit" type="submit" value="Login"></td></tr>
  10. <tr><td colspan='2'><input name="reset" type="reset"></td></tr>
  11. </table>
  12.  
  13. </form>
  14.  
  15. form-login login-page="/Login.jsp" authentication-failure-url="/Login.jsp?login_error=1"
  16. default-target-url="/common/home.jsp"/>
Add Comment
Please, Sign In to add comment