Answer to Question #631 in Java | JSP | JSF for andy
How can I make a certain method of a sub-class behave not as in an ancestor class?
You have to redefine the method. To do this you have to create a method with the same name and parameters in the sub-class, but define a new body. This is called polymorphism.