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
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
You can do this!
public String getLoginForm(@RequestParam String username,
@RequestParam String password)
{
//....
}
HTH!