ArrayList importList = (ArrayList)request.getAttribute("importList"); // returns String[]
String[] sortArray = new String[importList.size()]; // array for sorting input data
sortArray = (String []) importList.toArray(sortArray);
It seems the above code works fine under Tomcat when using the Sun JVM 1.4 but refuses to compile using the IBM JVM 1.4. Any ideas?
Tim McClure
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)