I'm sorry but I'm not really sure what you are asking for. Can you give us some narrative on what you are trying to achieve? I assume "comp" means action, right?
"Comp" means action except for "comp0", it means a servlet . We try to get a chain of messages. The beginning from a servlet which are passing through all components and coming back to a servlet.
This is starting to make a bit of sense, but it's still very information-sparse. As Burr asked, can you add some text explaining what you are doing and why you think there are problems. I'm afraid we simply don't have time to try to interpret what is little more than pseudo-code at this stage. Thanks.