why should we need to write it in webapp directory?