
print("code sample");how can we make a server to listen to login event i.e. Authenticate a user not using jsp. Using a login form we can use the jspringsecurity_check. How can we do it by sending a web service call and not using any form based authentication?

Please visit the following link:
http://www.roseindia.net/spring/spring-mvc-login-example.shtml