<%int num = Integer.parseInt("1000');%>看你的数值是什么类型去修改Integer
<%int num = Integer.parseInt("1000');%>
int a= Integer.parseInt(str);