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
args.append("-Dcatalina.base=\""); 
				args.append(home);
				args.append("\" "); 
				args.append("-Dcatalina.home=\""); 
				args.append(home);
				args.append("\" "); 
				args.append("-Djava.io.tmpdir=\""); 
				args.append(temp.toOSString());
				args.append("\"");  
				workingCopy.setAttribute(IJavaLaunchConfigurationConstants.ATTR_VM_ARGUMENTS, args.toString());
				workingCopy.setAttribute(IJavaLaunchConfigurationConstants.ATTR_PROGRAM_ARGUMENTS, "start"); 
			}
		} catch (CoreException e) {
			setErrorMessage(e.getMessage());
			DebugPlugin.log(e);
		}
	}
	/**
	 * @see org.eclipse.debug.ui.ILaunchConfigurationTab#performApply(ILaunchConfigurationWorkingCopy)
	 */
	public void performApply(ILaunchConfigurationWorkingCopy configuration) {
		configuration.setAttribute(TomcatLaunchDelegate.ATTR_CATALINA_HOME, getAttributeValueFrom(fTomcatDir));
		String webApp = getAttributeValueFrom(fWebAppDir);
		configuration.setAttribute(TomcatLaunchDelegate.ATTR_WEB_APP_ROOT, webApp);
		
		if (webApp != null) {
			IResource resource = ResourcesPlugin.getWorkspace().getRoot().findMember(new Path(webApp));
			if (resource != null) {
				configuration.setAttribute(IJavaLaunchConfigurationConstants.ATTR_PROJECT_NAME, resource.getProject().getName());
			}