已采纳回答 / 无动于衷
                                
                                                            当数组存储的是 类的对象,而不是基本数据类型时,可能发生。因为数组在定义时,都有默认值,基本数据类型默认是“数”,比如 int[] a=new int[];a[i]默认都为0;而引用类型(累的对象)的默认值则是null;Student[] strArray = new Student[5];Student t1 = new Student();Student t2 = new Student();Student t3 = new Student();Student t4 = new Student();s...
                            
                        
                        2015-09-18
                
            
                                讲师回答 / Fcming
                                
                                                            您好,重新创建是为了获取http中的request,可以获取相关的方法,如getContextPath。原来的参数ServletRequest是无法获取的。
                            
                        
                        2015-09-15