spring - the rpc call doesn't workd after adding spring4gwt -
to integrate spring in gwt application added spring4gwt , followed tutorial in simplerpcexample. doesn't work, in configuration , code seems ok.
so put in application context scan servlets
<context:component-scan base-package="com.protid.prosa.server" /> i tagged saservice interface @remoteservicerelativepath("sab/travaux") , saserviceimpl service @service("travaux")
the user interface loaded rpc call doesn't work. can body tell me mistake did, or best approach integer spring gwt. thank you,
and how added servlet web.xml
<servlet> <servlet-name>springgwtremoteserviceservlet</servlet-name> <servlet-class>org.spring4gwt.server.springgwtremoteserviceservlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>springgwtremoteserviceservlet</servlet-name> <url-pattern>/prosa/sab/*</url-pattern> </servlet-mapping>
Comments
Post a Comment