Updated the WebProjecController.py with Sample java code generation