Getting an error message like this at runtime means that the class you compiled your code against is not the same one you're running against; these methods appear in your source code, but the .class file that the running application picks up is an older one that doesn't have these methods.
Check your runtime CLASSPATH, and search around for multiple copies of the searchCustomer class. Delete every copy you can find. Then recompile your app and try again.
} my jsp can identify this method.But when I put those if statements back its giving me the same error.There are no duplicate class files and if so there wont be something like I said above, isnt it? By the way ,Thanx again for your support. best regs, Jil