// It is likely an error to not have a version at this point though
version = Version.SERVLET_3_0;
}
WebMetaData wmd = null;
switch (version) {
case SERVLET_2_2: wmd = new Web22MetaData(); break;
case SERVLET_2_3: wmd = new Web23MetaData(); break;
case SERVLET_2_4: wmd = new Web24MetaData(); break;
case SERVLET_2_5: wmd = new Web25MetaData(); break;
case SERVLET_3_0: wmd = new Web30MetaData(); break;
}