Re: GWT Project clarification - how mapping happens

2009-06-04 Thread amayen
Hi Tharindu! To make it more clearly for you the calc.html and the url /calc/greet refer to different resources. The calc.html is the HTML resource that the browser initially loads to show your GWT app. The /calc/greet path denotes a Java SERVLET. This servlet is there to access some resources

Re: GWT Project clarification - how mapping happens

2009-06-02 Thread Jim
In your example, once you type http://localhost:8080/calc/greet in FF, it is a synchronous regular request in Get method. Your servlet doesn't override doGet method and com.google.gwt.user.server.rpc.RemoteServiceServlet returns HTTP Error 405 to your request. In GWT application, it is a asynchr

Re: GWT Project clarification - how mapping happens

2009-06-02 Thread Tharindu Madushanka
> >     3.mailService is mapped to MailServiceImpl servlet as indicated > in  the following web.xml. > >     mailServlet >     class>com.google.gwt.sample.mail.client.server.MailServiceImpl servlet-class> >   > >   >     mailServlet >     /mail/mailService >   > > If you took look at > com.go

Re: GWT Project clarification - how mapping happens

2009-06-02 Thread Jim
In GWT 1.6, 1.calc.html should contain a generated Javascript code like "" in http://www.gwtorm.com/mail/Mail.html. 2.A service interface like MailService has the following code: @RemoteServiceRelativePath("mailService") public interface MailService extends RemoteService {

GWT Project clarification - how mapping happens

2009-06-02 Thread Tharindu Madushanka
Hi, Perhaps this might not be the correct place to ask this. But please kindly tell some answer to this. I am new to web development and I started reading about GWT, and when I look at web.xml I see the greetServlet com.gwt.test.server.GreetingServiceImpl greetServlet /