jQuery in Action, 3rd edition
The moose likes JSP and the fly likes logout button is not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "logout button is not working" Watch "logout button is not working" New topic

logout button is not working

Samanthi perera
Ranch Hand

Joined: Jan 08, 2010
Posts: 510
this is logout.jsp

this is Adminprocessor.java servlet

this is logout.java servlet

but my logout button is not working.when i click it doesn't go to index.jsp?
Hany Shafik
Ranch Hand

Joined: Jun 21, 2008
Posts: 80
I guess the problem is that you are using type = button instead of type = submit, the form is never submitted
I agree. Here's the link: http://aspose.com/file-tools
subject: logout button is not working
It's not a secret anymore!