Saturday, February 20, 2010

Re: passing all gwt modules' rpc requests through a single servlet.

Can I get the source ?

Thanks.

On 21 February 2010 11:37, Henry <q8e192@gmail.com> wrote:
See:

http://code.google.com/p/gwtserviceresolver/

Cheers,
Henry

On Feb 20, 9:44 pm, Prashant Gupta <nextprash...@gmail.com> wrote:
> Hi,
>
> My app is using multiple gwt modules and I want to do some set up so that no
> change to web.xml is required whenever I add or remove a gwt module.
>
> I replaced
>
> @RemoteServiceRelativePath("greet")
>
> by
>
> @RemoteServiceRelativePath("../greet/<fully qualified servlet name>")
>
> so that all rpc requests from all the gwt modules pass through a single
> servlet mapped to ../greet/* , say RPCService. Now I want to forward the
> request from RPCService to corresponding ServiceImpl servlet based on <fully
> qualified servlet name>. How do I do that ? I tried creating new instance to
> ServiceImpl class and calling doPost() method, it threw
> NullPointerException.
>
> Thanks.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate