Thanks a bunch that did the trick! The problem now is a bit different. I have written a special java class called Emailer to use the java mail functionality of sending an email. When I just use the class in a driver class I am able to send an email successfully. However, when I reference the class within the server side java code it does not send an email. I even embed the code in a try-catch block and am not receiving any exceptions. Any ideas as to what the issue may be? Thanks in advance.
On Mon, Sep 28, 2009 at 8:19 PM, Sripathi Krishnan < [email protected]> wrote: > See GreetingService.java (or whatever interface that extends > RemoteService). It typically has an annotation @RemoteServiceRelativePath > which specifies the path to the servlet. If you are changing your web.xml, > you would also need to change the value specified in this annotation. > > --Sri > > > 2009/9/28 Rakmos <[email protected]> > > >> I have eclipse installed with the GWT as well as the full blown Java >> SDK. I created a GWT template web application that is standard within >> eclipse. I basically am testing functionality of being able to send >> an email using the shell that is provided from eclipse. I have >> renamed several files, and for whatever reason, when I change the >> web.xml file located in the war/WEB-INF directory to the relative path >> for the servlet -- I change the "url-pattern" property of the "servlet- >> mapping" item to "/email" instead of "/greet" -- I lose the ability to >> communicate with the server. My question is where else is this >> information being stored, because it clearly is not pulling the >> information just from the web.xml file. >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
