Hi newlis,

RemoteServiceServlet is used on server side and not on client side. Your RPC
implementation classes extend this class. I have never used RequestBuilders
so I dont know if u can combine RemoteServiceServlets with RequestBuilder.
You can find a start up on RemoteServiceServlet at:

http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=GettingStartedRPC

Regards,
Litty Preeth

On Wed, Jan 14, 2009 at 7:09 PM, newlis <[email protected]> wrote:

>
> The solution seems really nice!!
> But because of lack of knowledge of HttpServletRequests i coundnt make
> it work.
>
> I m not using RemoteServiceServlet, when i need to ask data or get i
> use RequestBuilder methods.
>
> Do u have any nice tutorial to get used to RemoteServiceServlet , if
> and only i can combine it with RequestBuidler.
>
>
> I imported the
> import com.google.gwt.user.server.rpc.RemoteServiceServlet;
>
> add the
>
>
>
> 12: public class Main extends Composite, RemoteServiceServlet {
> 317: your code
> 21: irrelevant define of a verticalPanel.
>
> but got multiple errors
>
>
> [ERROR] Line 12: Syntax error on token(s), misplaced construct(s)
>      [ERROR] Line 12: Syntax error, insert "}" to complete Block
>      [ERROR] Line 21: Syntax error on tokens,
> AnnotationTypeDeclarationHeader expected instead
>      [ERROR] Line 21: Syntax error on tokens, delete these tokens
>      [ERROR] Line 22: Syntax error on tokens, delete these tokens
>      [ERROR] Line 286: Syntax error on token "}", delete this token
>      [ERROR] Line 317: HttpServletRequest cannot be resolved to a
> type
>      [ERROR] Line 317: The method getThreadLocalRequest() is
> undefined for the type new RequestCallback(){}
>      [ERROR] Line 318: HttpSession cannot be resolved to a type
> Removing invalidated units
>
>
> ty again.
>
> >
>

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