Re: cant contact the server
I have solved this issue already,in web.xml i have a liitle error
<!-- Servlets -->
<servlet>
<servlet-name>greetServlet</servlet-name>
<servlet-class>com.clothing.server.GreetingServiceImpl</servlet-
class>
</servlet>
<servlet-mapping>
<servlet-name>greetServlet</servlet-name>
<url-pattern>/women_clothing/greet</url-pattern>
</servlet-mapping>
i thought my project name shoud be same with url-pattern
"women_clothing"
On 9月10日, 下午8时11分, cheney <cheneyhe...@gmail.com> wrote:
> Hi everyone:
>
> I am new one in gwt,I've been working - step-by-step through the GWT
> sample
>
> It retured anerror"Anerroroccurredwhileattemptingtocontacttheserver. Please check your network connection and try again." when i
> click send button
>
> I thought the follow was 2errortips:
>
> 1.the console showed "log4j:WARN No appenders could be found for
> logger(org.springframework.core.CollectionFactory).
> log4j:WARN Please initialize the log4j system properly.
> AbandonedObjectPool is used
> (org.apache.commons.dbcp.AbandonedObjectPool@b36b28)
> LogAbandoned: false
> RemoveAbandoned: true
> RemoveAbandonedTimeout: 600" when i had started the appication
>
> 2.the console showed "[WARN] 404 - POST /women_clothing/greet
> (127.0.0.1) 1406 bytes
> Request headers
> Host: 127.0.0.1:8888
> User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:5.0.1) Gecko/
> 20100101 Firefox/5.0.1
> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/
> *;q=0.8
> Accept-Language: zh-cn,zh;q=0.5
> Accept-Encoding: gzip, deflate
> Accept-Charset: GB2312,utf-8;q=0.7,*;q=0.7
> Connection: keep-alive
> X-GWT-Permutation: HostedMode
> X-GWT-Module-Base:http://127.0.0.1:8888/women_clothing/
> Content-Type: text/x-gwt-rpc; charset=utf-8
> Referer:http://127.0.0.1:8888/Women_clothing.html?gwt.codesvr=127.0.0.1:9997
> Content-Length: 176
> Pragma: no-cache
> Cache-Control: no-cache
> Response headers
> Content-Type: text/html; charset=iso-8859-1
> Content-Length: 1406"
>
> Anyone know how to get it working? Did I missed anything? thanks
> very much!
>
> Thanks!
> cheney
--
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