Hide
Hi there , I am using dwr & spring in my application, here is my configurations
<dwr:controller id="dwrController" debug="true"/>
<dwr:config-param name="crossDomainSessionSecurity" value="false">
</dwr:config-param>
<bean id="dwrUrlMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
<property name="alwaysUseFullPath" value="true"/>
<property name="mappings">
<props>
<prop key="/dwr/**/*">dwrController</prop>
<prop key="/engine.js">dwrController</prop>
<prop key="/util.js">dwrController</prop>
<prop key="/interface/**">dwrController</prop>
<prop key="/call/**">dwrController</prop>
</props>
</property>
</bean>
<bean id="ajaxUtils" class="com.realdevelopment.project.util.AjaxUtils">
<dwr:remote javascript="AjaxFacade">
<dwr:include method="getStateList"/>
</dwr:remote>
<property name="stateDAO">
<ref bean="stateDAO"/>
</property>
</bean>
When i run the application the application server(resin 3-14) throw an exception who says it can not create dwrController bean. If i define dwrController in applicationContext like the other beans , i get this Error
Error: java.lang.SecurityException: No class by name: AjaxFacade
uk.ltd.getahead.dwr.DWRServlet: Sent 501
It's so critical for me to solve this problem.
I would appreciate if you can help me .
Thank you so much and Good Luck
Show
Hi there , I am using dwr & spring in my application, here is my configurations
<dwr:controller id="dwrController" debug="true"/>
<dwr:config-param name="crossDomainSessionSecurity" value="false">
</dwr:config-param>
<bean id="dwrUrlMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
<property name="alwaysUseFullPath" value="true"/>
<property name="mappings">
<props>
<prop key="/dwr/**/*">dwrController</prop>
<prop key="/engine.js">dwrController</prop>
<prop key="/util.js">dwrController</prop>
<prop key="/interface/**">dwrController</prop>
<prop key="/call/**">dwrController</prop>
</props>
</property>
</bean>
<bean id="ajaxUtils" class="com.realdevelopment.project.util.AjaxUtils">
<dwr:remote javascript="AjaxFacade">
<dwr:include method="getStateList"/>
</dwr:remote>
<property name="stateDAO">
<ref bean="stateDAO"/>
</property>
</bean>
When i run the application the application server(resin 3-14) throw an exception who says it can not create dwrController bean. If i define dwrController in applicationContext like the other beans , i get this Error
Error: java.lang.SecurityException: No class by name: AjaxFacade
uk.ltd.getahead.dwr.DWRServlet: Sent 501
It's so critical for me to solve this problem.
I would appreciate if you can help me .
Thank you so much and Good Luck