public void doGet( HttpServletRequest request,
                     HttpServletResponse response )
    throws ServletException, IOException
  {
    String arkID;

    arkID = null;
    try
    {
      arkID = request.getParameter( "ark" );
    }
    catch ( Exception e )
    {
      e.printStackTrace();
    }
    if ( arkID != null )
    {
      DataSource ds;
      int count;
      ds = DataSourceFactory.createDataSource( this.getServletContext().getInitParameter( "datasource.vger" ) );
      //ds = DataSourceFactory.createVgerSource();
      count = new JdbcTemplate( ds ).queryForInt( COUNT_QUERY, new Object[]
            { arkID } );
      
      if ( count == 0 )
      {
        Exception e;
        e = new Exception("No match for OAC ARK ID");
        request.setAttribute( "Exception", e );
        response.sendRedirect( "errors.jsp" );
        //response.sendError( response.SC_NOT_FOUND,"No match for OAC ARK ID" );
      }
      else if ( count > 1 )
      {
        Exception e;
        e = new Exception("More than one match for OAC ARK ID");
        request.setAttribute( "Exception", e );
        response.sendRedirect( "errors.jsp" );
        //response.sendError( response.SC_NOT_FOUND, "More than one match for OAC ARK ID" );
      }
      else
      {
        int bibID;
        
        bibID = new JdbcTemplate( ds ).queryForInt( ID_QUERY, new Object[]
            { arkID } );
        
        response.sendRedirect( "index.jsp?bibID=" + bibID );
      }
    }
    else
      response.sendError( response.SC_BAD_REQUEST,
                          "Request missing OAC ARK ID" );

  }