-3

I have a login.jsp which gets submitted to index.jsp passing along the username and password params. How can i retrieve these params in index.jsp? The call to index.jsp is a POST request.

Not really a java guy...thanks

error123456789
  • 1,009
  • 2
  • 10
  • 18

1 Answers1

0

You can do this!

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

HTH!

karthik manchala
  • 13,492
  • 1
  • 31
  • 55