google的webservice还能用吗?
据我所知,已经down掉一段时间了!
据我所知,已经down掉一段时间了!
解决方案 »
- 面试关于ssh
- 一个java笔试题,关于逻辑推断的
- MyEclipse5.1+Tomcat6配置和安装的新手问题
- websphere application client里面通过jndi得到datasource时抱Null userid???
- 如何在web.xml添加自己得配置文件,并在tomcat启动时候实现加载!
- 怎么在Filter中使用JTA控制事务???????只要能帮我解决分数随你要
- tomcat成功启动,访问却出现访问权限问题?
- 关于struts的getDataSource()的问题?
- weblogic+oracle中关于自增列的问题
- PreparedStatement的问题?
- 求XMLBuddy
- Servlet调用Servlet?
Tomcat文档说明 http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.htmlTomcat4的数据库连接池配置 http://www.7880.com/Info/Article-37ebcbc0-2.html
tomcat连接池的配置与使用(原创)数据库mysql http://www.7880.com/Info/Article-37f05fa0.html
正常啊。如果IE不能直接访问,设置代理就可以了。try {
String key = "";//偶的Key不能公开
String searchQuery = "portlet";
String startResult = "10";
GoogleSearchResult result = null;
GoogleSearchResultElement elements[] = null;
GoogleSearch googleSearch = new GoogleSearch();
googleSearch.setKey(key);
//如果IE不能直接访问,设置代理
googleSearch.setProxyHost("217.17.233.183");
googleSearch.setProxyPort(80);
googleSearch.setQueryString(searchQuery);
if (null != startResult) {
int start = Integer.parseInt(startResult);
googleSearch.setStartResult(start);
}
result = googleSearch.doSearch();
elements = result.getResultElements();
for (int i = 0; i < elements.length; i++) {
GoogleSearchResultElement element = elements[i];
System.out.println(element.getURL() + " " + element.getTitle() + " " + element.getSummary());
}
}
catch (Exception e) {
e.printStackTrace();
}
com.google.soap.search.GoogleSearchFault: [SOAPException: faultCode=SOAP-ENV:Client; msg=Connection reset; targetException=java.net.SocketException: Connection reset]
at com.google.soap.search.GoogleSearch.doSearch(GoogleSearch.java:197)
at google.main(google.java:31)
????????????
是不是你的key不起作用了,试一下这个:Qix5pYtQFHLaptjRHeQ17o65EBQE2sNt
如果还不行,把你的代码贴出来或者email给我:[email protected]
com.google.soap.search.GoogleSearchFault: [SOAPException: faultCode=SOAP-ENV:Client; msg=Unable to resolve namespace URI for 'ns1'.; targetException=java.lang.IllegalArgumentException: Unable to resolve namespace URI for 'ns1'.]
高手帮我看看呀
http://community.csdn.net/Expert/topic/4067/4067464.xml?temp=.6516687