Bug 29003 Preferences 'Output Folder Name' needs to allow '/' in the path [build path]
In the window/preferences/Java/New Project panel, when 'Folders' radio button is set, the 'output folder name' cannot be set to something like 'WEB- INF/classes'. The error message "'/' is an invalid character" appears. However, when setting the output path on the project (project/properties), 'WEB- INF/classes' is allowed, as the '/' is valid. Please change the window/preferences to allow a '/' in output folder name, so this value can be set by default.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/NewJavaProjectPreferencePage.java
if (button.getSelection()) {
				String[] info= (String[]) button.getData();
				store.setValue(info[0], info[1]);
			}
		}
		for (int i= 0; i < fTextControls.size(); i++) {
			Text text= (Text) fTextControls.get(i);
			String key= (String) text.getData();
			store.setValue(key, text.getText());
		}
		
		if (fJRECombo != null) {
			store.setValue(CLASSPATH_JRELIBRARY_INDEX, fJRECombo.getSelectionIndex());
		}
		
		JavaPlugin.getDefault().savePluginPreferences();
		return super.performOk();
	}
	
	private String[] getJRENames() {
		String prefString= getPreferenceStore().getString(CLASSPATH_JRELIBRARY_LIST);
		ArrayList list= new ArrayList();
		StringTokenizer tok= new StringTokenizer(prefString, ";"); 
		while (tok.hasMoreTokens()) {
			list.add(decodeJRELibraryDescription(tok.nextToken()));
		}
		return (String[]) list.toArray(new String[list.size()]);
	}
}