You are right. I have mixed them all. Thanks for clarify. So right now my problem is how to call servlet thru spring :) My application has some servlets and I would like to call them via spring.
On 29 Kwi, 16:08, Thomas Broyer <[email protected]> wrote: > On 29 avr, 13:45, "[email protected]" <[email protected]> wrote: > > > I am trying to call ordinary servlet via spring (I am using gwt-sl > > library and GWTHandler class) and requestbuilder in GWT (POST method). > > AFAICT from the GWT-SL docs, GWTHandler is not an "ordinary servlet", > it is based on GWT-RPC; which means you should use GWT-RPC and not a > "plain old^^^low-level RequestBuilder". > > An "ordinary servlet" would be called as you'd expect; GWT-RPC expects > a particular request payload (method arguments, serialized in GWT-RPC > special format, hence the Content-Type: text/x-gwt-rpc) > > The GWT-SL docs are quite clear on how to write the client-side GWT > code to work with GWTHandler (i.e. GWT-RPC). --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
