This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
In each xxxAction.java, the work flow may like below.
My question is why even there is exception occurring, and it is in catch block, but the method still goes to perform the line of return "SUCCESS". Hence, if you do not define return String in catch block, it always execute the return "SUCCESS", and forward to SUCCESS page that has uncompleted information.
I am kind of confused, is it supposed to stop in catch block? and the system can not reach the line of return "SUCCESS"? Anyone can help me on this topic?
Looks like it's not necessary to define return FAILURE in catch block.