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
/**
	 * @deprecated Inline to avoid reference to preference page
	 */	
	public static String getSourceFolderName() {
		return PreferenceConstants.getPreferenceStore().getString(PreferenceConstants.SRCBIN_SRCNAME);
	}
	/**
	 * @deprecated Inline to avoid reference to preference page
	 */	
	public static String getOutputLocationName() {
		return PreferenceConstants.getPreferenceStore().getString(PreferenceConstants.SRCBIN_BINNAME);
	}
	public static IClasspathEntry[] getDefaultJRELibrary() {
		IPreferenceStore store= JavaPlugin.getDefault().getPreferenceStore();
		
		String str= store.getString(CLASSPATH_JRELIBRARY_LIST);
		int index= store.getInt(CLASSPATH_JRELIBRARY_INDEX);
		
		StringTokenizer tok= new StringTokenizer(str, ";"); 
		while (tok.hasMoreTokens() && index > 0) {
			tok.nextToken();
			index--;
		}
		
		if (tok.hasMoreTokens()) {
			IClasspathEntry[] res= decodeJRELibraryClasspathEntries(tok.nextToken());
			if (res.length > 0) {
				return res;
			}
		}