well im not at all getting this solved!!!
in my
jsp page i have a button , onclicking the button the sesion should expire and the user should be automatically taken to the login page again . im giving the onClick javascript function here , pls advice..
onClick(){
window.alert("do u wanna go");
<% session.invalidate%>
window.open("...//index.html");
}
is this a valid one ???