permaculture playing cards*
The moose likes JSP and the fly likes Problems on deleting a user from my DB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Problems on deleting a user from my DB" Watch "Problems on deleting a user from my DB" New topic
Author

Problems on deleting a user from my DB

Ilh Oleo
Ranch Hand

Joined: Feb 07, 2007
Posts: 57
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 ]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Problems on deleting a user from my DB
 
Similar Threads
error to login page
Storing resultset into arraylist
Login code problem
Using get() and post() together
Passing web.xml info to servlets