I am trying to start a session after login. If not successfull then it will throw flash message.
Everything is fine incase of invalid login.
But successfull login throws error:
Cannot convert value of type 'com.mart.application.model.Login' to required type 'java.lang.String': no matching editors or conversion strategy found
I tried by sending text as session value hard coding. This time page loads but without session variable.
Can you please help me. I'm trying to shift from php to
Java