File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problems on deleting a user from my DB

 
Ilh Oleo
Ranch Hand
Posts: 57
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi i just don�t get the servlets and jsp...

[Edit: removed not-so-nice text. Please be more circumspect in future posts.]

So i was wondering why i can�t delete a user from my DB(i�m using mySQL).

First here is my jsp




I�m calling my servlet Valida to look if the username typed by the admin exists in my DB


And here it is where i validate that the user exists and then delete it.


But i always get redirect to ghj.jsp even if the user exists.
[ July 25, 2007: Message edited by: Bear Bibeault ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic