aspose file tools
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 1Z0-808 this week in the OCAJP 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 servlet

this is 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:
subject: logout button is not working