final TapestryUtils tapestryUtil) {
final IModelProvider provider = tapestryUtil.getModelProvider();
final IPath webXMLPath = new Path("WEB-INF").append("web.xml"); //$NON-NLS-1$ //$NON-NLS-2$
if (tapestryUtil.isJavaEE(provider.getModelObject())) {
provider.modify(new UpdateWebXMLForJavaEE(project, config,
tapestryUtil),
doesDDFileExist(project, webXMLPath) ? webXMLPath
: IModelProvider.FORCESAVE);
} else {// must be 2.3 or 2.4
provider.modify(new UpdateWebXMLForJ2EE(project, config,