@@ -0,0 +1,822 @@
+import java.net.*;%0Aimport java.io.*;%0Aimport java.net.URLEncoder;%0A%0Apublic class ServletTest %7B%0A  public static void main(String%5B%5D args) throws Exception %7B%0A%09String param = %22Hopefully this is a successful testing of language translation POC%22;%0A%09System.out.println(URLEncoder.encode(param, %22UTF-8%22));%0A    URL yahoo = new URL(%22https://clarkjavaliberty.mybluemix.net/SimpleServlet?content=%22 + URLEncoder.encode(param, %22UTF-8%22));%0A    URLConnection yc = yahoo.openConnection();%0A    //BufferedReader in = new BufferedReader(new InputStreamReader(yc.getInputStream()), %22UTF-8%22);%0A%09InputStreamReader isr = new InputStreamReader(yc.getInputStream(), %22UTF-8%22);%0A%09BufferedReader in = new BufferedReader(isr);%0A    String inputLine;%0A    while ((inputLine = in.readLine()) != null) %0A        System.out.println(inputLine);%0A    in.close();%0A  %7D%0A%7D

Include java file to invoke SimpleServlet