ioe.printStackTrace();
if(log.isErrorEnabled()) { log.error("Exception", ioe); }
    public void actionPerformed(ActionEvent ae) {      String command = ae.getActionCommand();      String oplanId = null;      if (command.equals(PUBLISH_COMMAND) || command.equals(RESCIND_COMMAND))        oplanId = ((OplanInfo)oplanCombo.getSelectedItem()).getOplanId();      String urlString = getURLString(GLS_INIT_SERVLET, command, oplanId);      URL url;      URLConnection urlConnection;      try {	url = new URL(urlString.toString());        if (url == null)          return;        urlConnection = url.openConnection();        if (urlConnection == null)          return;  	BufferedReader in = new BufferedReader(new InputStreamReader(urlConnection.getInputStream()));  	String inputLine;  	while ((inputLine = in.readLine()) != null) {          // read and discard any feedback	}  	in.close();      } catch (java.net.MalformedURLException me) {	JOptionPane.showMessageDialog(outerPanel,                                       "Invalid Host, Port, Agent or Servlet.",                                      "Bad URL",                                       JOptionPane.ERROR_MESSAGE);        me.printStackTrace();        return;      } catch (java.io.IOException ioe) {	JOptionPane.showMessageDialog(outerPanel,                                       "Could not connect to Host, Port, or Agent.\nThe Servlet may not be running there.",                                      "No Servlet",                                       JOptionPane.ERROR_MESSAGE);	ioe.printStackTrace();      }    }