thanks for caring

i have solved the problem. i have just learned that i need to set service
entry point :D
i have added sometihng like below to my service class.

ServiceDefTarget endpoint = (ServiceDefTarget) messengerService;
endpoint.setServiceEntryPoint( GWT.getModuleBaseURL() + "messenger" );

On Wed, Jan 14, 2009 at 6:59 AM, Litty Preeth <preeth.h...@gmail.com> wrote:

> If you hav to make jdbc entries in web.xml depends on your implementation.
> What is the error you are getting?
>
> - Litty Preeth
>
>
> On Wed, Jan 14, 2009 at 5:30 AM, jredick <jared...@gmail.com> wrote:
>
>>
>> Hi,
>> first of all i am sorry if this is a stupid question :)
>> I am pretty new on using gwt. I write a simple application that sends
>> and take data from mysql database.
>> But when it comes to deploy my application, i can't manage to do it.
>> Actually i deployed it, but there is a problem on RPC or database. I
>> cannot figure out myself.
>> my question is ; do I need to add some kind of mapping to my web.xml
>> file for database connection ( jdbc) or something like below is
>> enough ?
>>
>> <?xml version="1.0" encoding="ISO-8859-1"?>
>>
>> <web-app>
>>   <servlet>
>>      <servlet-name>MyApplication</servlet-name>
>>      <servlet-class>com.project.server.dataServiceImpl</servlet-
>> class>
>>   </servlet>
>>   <servlet-mapping>
>>      <servlet-name>MyApplication</servlet-name>
>>      <url-pattern>/myapplication</url-pattern>
>>   </servlet-mapping>
>> </web-app>
>>
>>
>> thanks in advance
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to