Modify for spring mvc compatible.

Add separator to suffix for spring mvc compatible.
Add request attributes to model.
Throw Exception when template is not exist.