124-SpringMVC常用的配置文件

<!--扫描组件-->
    <context:component-scan base-package="com.bjpowernode.dubbo.web"/>

    <!--配置注解驱动-->
    <mvc:annotation-driven/>

    <!--视图解析器-->
    <bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
        <property name="prefix" value="/"/>
        <property name="suffix" value=".jsp"/>
    </bean>
原文地址:https://www.cnblogs.com/pogusanqian/p/12714235.html