More questions - help please... We have GWT + Spring This 'flavour' of GWT is using a placecontroller, and tablayoutContainer.
GWT.getModuleBaseURL()= https://localhost:9083/ <https://localhost:9083/ConsumerMobileAdmin/consumerMobileAdmin/>C <https://localhost:9083/ConsumerMobileAdmin/consumerMobileAdmin/> onsumerMobileAdmin/ <https://localhost:9083/ConsumerMobileAdmin/consumerMobileAdmin/>c <https://localhost:9083/ConsumerMobileAdmin/consumerMobileAdmin/> onsumerMobileAdmin/ <https://localhost:9083/ConsumerMobileAdmin/consumerMobileAdmin/> GWT.getHostPageBaseURL()=https://localhost:9083/ConsumerMobileAdmin/ sample url's for diff tabs: https://localhost:9083/ConsumerMobileAdmin/ <https://localhost:9083/ConsumerMobileAdmin/ConsumerMobileAdmin.jsp>C <https://localhost:9083/ConsumerMobileAdmin/ConsumerMobileAdmin.jsp> onsumerMobileAdmin.jsp <https://localhost:9083/ConsumerMobileAdmin/ConsumerMobileAdmin.jsp># https://localhost:9083/ConsumerMobileAdmin/ConsumerMobileAdmin.jsp#webusers:all the RPC classes use @RemoteServiceRelativePath ... which is wired together in the consumerMobileAdmin-servlet.xml using <bean class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping"> <property name="mappings"> .... Both of these: ((ServiceDefTarget)xsrf).setServiceEntryPoint(GWT.getModuleBaseURL() + "xsrf"); //((ServiceDefTarget)xsrf).setServiceEntryPoint(GWT.getHostPageBaseURL() + "xsrf"); give me a console error "Failed to load resource: the server responded with a status of 405 (Method not allowed) The Tomcat log states: Invalid CSRF token found for https://localhost:9083/ConsumerMobileAdmin/xsrf (CsrfFilter) or Invalid CSRF token found for https://localhost:9083/ConsumerMobileAdmin/consumerMobileAdmin/xsrf (CsrfFilter) depending on which of the serviceDefTarget I tried.... Help! How do I set the serviceDefTarget of the XsrfTokenServiceAsync?? <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virus-free. www.avg.com <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#m_2239059169587483923_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> On Wed, Nov 1, 2017 at 9:27 AM, Rencia Cloete <[email protected]> wrote: > Fabulous! Thanks! > > On Wednesday, 1 November 2017 00:18:50 UTC+2, Colin Alworth wrote: >> >> To answer the original question, no - no changes are planned in the Xsrf >> variants of generator-based RPC. We should remove those comments. I am >> aware of no reason to not use the Xsrf variants in production code. >> >> Looking forward, beyond gwt-user.jar, I have the core of RPC working >> correctly in Annotation Processors (i.e. so that it is compatible with GWT >> 3). I do not have the equivalent of RemoteService ready yet, but when I get >> there I will make sure tools are available akin to XsrfProtectedService. >> However, while migration should be minimal to this updated version, it will >> not be zero - at the very least a different servlet will be required, and a >> constructor call instead of GWT.create. >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "GWT Contributors" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/google-web-toolkit-contributors/eMf39ktTQ8A/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/google-web-toolkit-contributors/f133bbf1-126f- > 4de1-874b-1e7f5d995207%40googlegroups.com > <https://groups.google.com/d/msgid/google-web-toolkit-contributors/f133bbf1-126f-4de1-874b-1e7f5d995207%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "GWT Contributors" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/CALND5bczNZoMrfrK090F0Q%2BtcwxcfJHANWAirrpYSzbiuSA0UA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
