@Override public void init() throws ServletException {
  try {
    destinationConfiguration=getDestinationConfiguration();
  }
 catch (  IOException e) {
    throw new ServletException(e.getMessage(),e);
  }
  try {
    destinationUrl=getDestinationUrl();
  }
 catch (  IOException e) {
    throw new ServletException(e.getMessage(),e);
  }
}

@ Override public void init ( ) throws ServletException { try { destinationConfiguration = getDestinationConfiguration ( ) ; } catch ( IOException e ) { throw new ServletException ( e . getMessage ( ) , e ) ; } try { destinationUrl = getDestinationUrl ( ) ; } catch ( IOException e ) { throw new ServletException ( e . getMessage ( ) , e ) ; } }
initializes the java servlet
