How to logout from application using jsp Applicatin

Hi in spring security we are using two jsp file login.jsp for login and logout.jsp after loading application i have to sinout by using logout button but my problem is how to call jsp login page from java class .i m already using servelet for spring secutity i want some deatils example so it can be great help full for me i m newer to servelet .Thanks In advence

Hi, have you tried using the setLogoutUrl(String) in Application class? User will be redirected there after Application.close() is called. Call the close method from your logout button’s listener and you will be directed to logout url which can be the logout.jsp page.

Thanks i got it

Why & how to use JSP in Vaadin ?