Spring MVC JSP Parameters

Posted by zpinter on Stack Overflow See other posts from Stack Overflow or by zpinter
Published on 2010-04-04T17:35:24Z Indexed on 2010/04/04 19:43 UTC
Read the original article Hit count: 295

Filed under:
|
|
|

I'm looking to turn off try blocks for a specific JSP page (though turning it off globally would be OK as well). From what I've gathered, it looks something like this:

<jsp-param>
<param-name>noTryBlocks</param-name>
<param-value>true</param-value>
</jsp-param>

However, everywhere I see that sample it's for a weblogic.xml file. Does anybody know how I can set this JSP parameters for a Spring MVC application? web.xml? Perhaps somewhere near here?:

  <bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">
    <property name="viewClass" value="org.springframework.web.servlet.view.JstlView"/>
    <property name="prefix" value="/WEB-INF/jsp/"/>
    <property name="suffix" value=".jsp"/>
  </bean>

© Stack Overflow or respective owner

Related posts about spring-mvc

Related posts about jsp