package servlets;at the beginning of the program. ( Select.java contents ). Compile this program inside the servlets folder (the same place where WelcomeServlet.java resides).
favoriteNumber = name.length();arrange it so that it obtains the mobile phone number associated with the given name. Here's some code you could use:
String favoriteNumber; try { favoriteNumber = Select.getNum( name ); } catch( Exception e ) { favoriteNumber = "no mobile number"; }