Sunday, 15 September 2013

java - JSP--how to get request parameter -


I have login.jsp which passes index.jsp with username and password parameters. How do I get these parameters in index.jsp? Calling Index.jsp is a post request.

Actually there is no java man ... thanks

you do this Can!

  public string getLoginForm (@RequestParam string username, @RequestParam string password) {// ....}  

hh!


No comments:

Post a Comment