This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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 Elasticsearch in Action this week in the Big Data 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 ]
 
I agree. Here's the link: http://kickstarter.com/rocket-mass-heater
 
subject: Problems on deleting a user from my DB