Adding view.jsp and fixing workflow.

Workflow now exits gracefully (no more null pointers).