Whenever we hit url in the browser struts filter search's respective action using actionMapping to execute the action. So now user is modified the class name so it couldn't found any action to execute it such cases we can tell if no action is found execute default action. And do whatever you want to do in the default action as per your business requirements. or else you can modify the default error pages in server which is bad approach i feel.
ocjp 6 — Feeding a person with food is a great thing in this world. Feeding the same person by transferring the knowledge is far more better thing. The reason is the amount of satisfaction which we get through food is of only one minute or two. But the satisfaction which we can get through the knowledge is of life long.