问答详情
源自:-

集成ssm+shiro怎么配置呢。。。网上貌似都是没有加shiro的

<bean class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
    <property value="true" name="alwaysUseFullPath"></property>
    <property name="mappings">
        <props>
            <prop key="/dwr/**">dwrController</prop>
        </props>
    </property>
</bean>

<!--dwr控制器-->
<dwr:controller id="dwrController" debug="true"/>

<!--设置需要dwr转化的实体类,格式为json传输到jsp页面-->
<dwr:configuration>
    <dwr:convert type="bean" class="com.zuifang.entity.picking.GoodsOrder"/>
</dwr:configuration>


<dwr:annotation-config  />
<dwr:annotation-scan base-package="com.zuifang.web" scanDataTransferObject="true"/>


提问者:无敌威威 2017-03-09 17:49

个回答

  • 无敌威威
    2017-03-09 22:10:50

    已解决