p2 for dynamic web application