Modify for spring mvc compatible.

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