a question related to Google Translate
- by Robert
Hi all,
it works perfectly fine if I paste the following URL directly into my IE address bar:
http://translate.google.cn/translate?hl=zh-CN&sl=zh-CN&tl=en&u=http%3A%2F%2Fnews.baidu.com%2Fns%3Fword%3D%25B0%25C2%25B0%25CD%25C2%25ED
it will translate some Chinese news pages into English ones.
but if I call this address in a Java program like:
Process q=Runtime.getRuntime().exec("cmd /c start http://translate.google.cn/translate?hl=zh-CN&sl=zh-CN&tl=en&u=http%3A%2F%2Fnews.baidu.com%2Fns%3Fword%3D%25B0%25C2%25B0%25CD%25C2%25ED");
It will only return to the Google translate main page.
Wonder what went wrong there.
and it would be great if you help me how to realize this(opening the Google translated result page simplying by supplying the URL,in a Java program).
Many thanks.