In my web application I am using JSPX (Spring ROO). I need to add javascript in JSPX. can anyone share any useful link to guide me in adding it.
Actually the problem is to close the session when the user closes the browser.
I tried to add the following code in my JSPX file to clear the cache. But I dont know how to add it.
<head>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="-1">
</head>
Can any one please help me in adding the above code or adding javascript in my JSPX file?