try{
URL newURL = new URL("http://localhost:8080/auto/productNeworder.do?method=createProductPrograma");
HttpURLConnection conn = (HttpURLConnection) newURL.openConnection();
conn.connect();
BufferedReader in = new BufferedReader(new InputStreamReader(conn.getInputStream()));
in.close();
}catch(MalformedURLException e){
System.err.print("malformedURLexception"+e);
}catch(IOException e){
System.err.print("IOException"+e);
}