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

来源:-

无敌威威

2017-03-09 17:49

<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"/>


写回答 关注

1回答

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

    已解决

Dwr实现JAVA服务器端向客户端推送消息

dwr轻松帮你实现server push。

15455 学习 · 33 问题

查看课程

相似问题