u can disable back button but u cant detect .But struts framework has a design which is token based and can be used to detect if the user has used back button . its simple to implement .