Link to home
Start Free TrialLog in
Avatar of hariprasadb
hariprasadb

asked on

In jsp confirm logout

in struts  application i have a  link "Logout".. After click on the hyper link...  i  want to take confirmation..

 i used javascript

<a href="<%=request.getContextPath()%>/logout.do" target="main" class="leftnav"  onClick="conform("Are you sure you want to Logout??);">Logout</a>

but it is  ls loging out  in both cases  Yes/Cancle......

please help me...

Hari
ASKER CERTIFIED SOLUTION
Avatar of devic
devic
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
hi hariprasadb,
are you not satisfied with the answer?