AlexCzar / spring4gwt

Automatically exported from code.google.com/p/spring4gwt
Apache License 2.0
0 stars 0 forks source link

can't convert regular GreetingService to Spring Greeting Service #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. unrar the attached file
2. import it as a google web project.
3. Run it . Enter  a name . Then wait for response . You will see 404 error 
when you watch console.

What is the expected output? What do you see instead?
Expected output is a simple "Hello" message

What version of the product are you using? On what operating system?
Gwt-1.6.4 and windows vista

Please provide any additional information below.
Log message is like the following : 
[WARN] 404 - POST /gwtproject/springGwtServices/greetingService (127.0.0.1) 
1430 bytes
   Request headers
      Host: 127.0.0.1:8888
      Connection: keep-alive
      Accept: */*
      User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
      Accept-Encoding: gzip,deflate,sdch
      Accept-Language: tr-TR,tr;q=0.8,en-US;q=0.6,en;q=0.4
      Accept-Charset: ISO-8859-9,utf-8;q=0.7,*;q=0.3
      Referer: http://127.0.0.1:8888/Gwtproject.html?gwt.codesvr=127.0.0.1:9997
      Content-Length: 163
      Origin: http://127.0.0.1:8888
      X-GWT-Module-Base: http://127.0.0.1:8888/gwtproject/
      Content-Type: text/x-gwt-rpc; charset=UTF-8
      X-GWT-Permutation: HostedMode
   Response headers
      Content-Type: text/html; charset=iso-8859-1
      Content-Length: 1430

I am sure that I am missing a point but  I couldn't find. 

Original issue reported on code.google.com by rerna...@gmail.com on 16 Nov 2010 at 1:58

Attachments:

GoogleCodeExporter commented 8 years ago
when I deploy project to tomcat , Spring service works properly ("HTTP Status 
405 - HTTP method GET is not supported by this URL"),but when I try on enbedded 
jetty , I got 404 error.

Original comment by rerna...@gmail.com on 16 Nov 2010 at 4:05

GoogleCodeExporter commented 8 years ago
I have the same problem!

Original comment by nicola.b...@gmail.com on 17 Nov 2010 at 1:48

GoogleCodeExporter commented 8 years ago
Have the same issue, is anyone looking at it?

Original comment by helipilo...@gmail.com on 8 Mar 2011 at 6:29

GoogleCodeExporter commented 8 years ago
it's a pity, I got the same problem too!

Original comment by wsn...@gmail.com on 22 Nov 2011 at 9:37

GoogleCodeExporter commented 8 years ago
I think it is related with problem contextPath . If you deploy a web 
application to jetty, its url doesn't include contextPath (it would be 
http://localhost:8080/AnyServlet) but for tomcat its url  will be 
http://localhost:8080/SampleApp/AnyServlet... That's why we can't access to 
services from  UI's javascripts.

Original comment by eilkers....@gmail.com on 22 Nov 2011 at 10:48