spring-framework / org.springframework.web.servlet.view / JstlView / <init>

<init>

JstlView()

Constructor for use as a bean.

See Also
#setUrl

JstlView(url: String)

Create a new JstlView with the given URL.

Parameters

url - the URL to forward to

JstlView(url: String, messageSource: MessageSource)

Create a new JstlView with the given URL.

Parameters

url - the URL to forward to

messageSource - the MessageSource to expose to JSTL tags (will be wrapped with a JSTL-aware MessageSource that is aware of JSTL's javax.servlet.jsp.jstl.fmt.localizationContext context-param)

See Also
JstlUtils#getJstlAwareMessageSource