Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

JSP that doesn't work with IBM JVM 1.4

McClure, Timothy J(IndSys, GE Interlogix)

2003-09-16


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)


©2008 junlu.com - Jax Systems, LLC, U.S.A.