[561347] Fix for AIOOBException
diff --git a/web/bundles/org.eclipse.jst.jsp.ui/src/org/eclipse/jst/jsp/ui/StructuredTextViewerConfigurationJSP.java b/web/bundles/org.eclipse.jst.jsp.ui/src/org/eclipse/jst/jsp/ui/StructuredTextViewerConfigurationJSP.java
index 21c4a0d..8943f0e 100644
--- a/web/bundles/org.eclipse.jst.jsp.ui/src/org/eclipse/jst/jsp/ui/StructuredTextViewerConfigurationJSP.java
+++ b/web/bundles/org.eclipse.jst.jsp.ui/src/org/eclipse/jst/jsp/ui/StructuredTextViewerConfigurationJSP.java
@@ -184,8 +184,8 @@
 			String[] jspTypes = StructuredTextPartitionerForJSP.getConfiguredContentTypes();
 			fConfiguredContentTypes = new String[htmlTypes.length + jspTypes.length];
 
-			System.arraycopy(htmlTypes, 0, fConfiguredContentTypes, 2, htmlTypes.length);
-			System.arraycopy(jspTypes, 0, fConfiguredContentTypes, 2 + htmlTypes.length, jspTypes.length);
+			System.arraycopy(htmlTypes, 0, fConfiguredContentTypes, 0, htmlTypes.length);
+			System.arraycopy(jspTypes, 0, fConfiguredContentTypes, htmlTypes.length, jspTypes.length);
 		}
 
 		return fConfiguredContentTypes;