Faces messages are not cleared on subsequent requests
问题 Case is as follows: you have a bean method which parses a file, and if parsing fail, error message is added, and if parsing successful, success message is added. But when you make consecutive operations: fail > success , i expect that the fail message will disappear and the success message appears, but what happens is that fail message is still there, and success message is added to it. Clearing the MessageList before adding the message is not a solution, because list is already cleared, if