David Parks
David Parks

Reputation: 32081

Spring MVC: With SimpleMappingExceptionResolver, what parameters are passed to the view

I've implemented SimpleMappingExceptionResolver.

I want to embed the exception text in an HTML comment, how can I access the exception from the View?

Upvotes: 0

Views: 442

Answers (1)

David Parks
David Parks

Reputation: 32081

The exception object is passed to the view as variable: exception

Logical!

Upvotes: 1

Related Questions