On 29 avr, 21:19, "[email protected]" <[email protected]> wrote:
> 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.

"via Spring" ?!

You mean having your servlets being "dependency injected" by Spring ?
If so, probably the Spring document will be enough, or the Spring
mailing list / user group / forum.
E.g. http://andykayley.blogspot.com/2008/06/how-to-inject-spring-beans-into.html

Otherwise, well, it's just a RequestBuilder. RequestBuilder is a low-
level API to make HTTP calls; if you understand HttpServlet's
HttpRequest/HttpResponse, then RequestBuilder shouldn't be hard to
comprehend too.

>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to