Bug 64419 Tomcat example does not need "web app root" attribute
The Tomcat/JSP launching example currently requires the user specify a "web app root" on the main tab. However, all we need is the project (in order to compute a classpath for extra java files and source lookup path). We used to require the attribute for source lookup.
org.eclipse.jdt.ui.examples.javafamily/src/org/eclipse/jsp/launching/TomcatTab.java
updateLaunchConfigurationDialog();
			}
		});
		
		fWebAppButton = createPushButton(composite, LaunchingMessages.getString("TomcatTab.23"), null); 
		fWebAppButton.addSelectionListener(new SelectionAdapter() {
			public void widgetSelected(SelectionEvent evt) {
				handleWebAppBrowseButtonSelected();
			}
		});		
	}
		
	/**
	 * Show a dialog that lets the user select a root WebApp directory
	 * from the workspace
	 */
	protected void handleWebAppBrowseButtonSelected() {
		ISelectionStatusValidator validator= new ISelectionStatusValidator() {
			public IStatus validate(Object[] selection) {
				if (selection.length != 1) {
					return new Status(IStatus.ERROR, JspUIPlugin.getDefault().getDescriptor().getUniqueIdentifier(), 0, LaunchingMessages.getString("TomcatTab.24"), null); 
				}
				if (!(selection[0] instanceof IContainer)) {
					return new Status(IStatus.ERROR, JspUIPlugin.getDefault().getDescriptor().getUniqueIdentifier(), 0, LaunchingMessages.getString("TomcatTab.25"), null); 
				}
				
				IContainer container = (IContainer)selection[0];
				if (!container.getFolder(new Path("WEB-INF")).exists()) { 
					return new Status(IStatus.WARNING, JspUIPlugin.getDefault().getDescriptor().getUniqueIdentifier(), 0, LaunchingMessages.getString("TomcatTab.27"), null); 
				}