Accenture interview question

Coding stuff, struts flow