getParameter和getAttribute它俩有什么区别,
String   rtuName   =   (String)request.getAttribute( "rtuName "); 
                         if(rtuName   ==   null   ||   rtuName.equals( " "))   { 
                                     rtuName   =   request.getParameter( "rtuName "); 
                         }   
 这段代码有什么意义?谢谢
------解决方案--------------------getParameter是用来接受用post个get方法传递过来的参数的. 
 getAttribute必须先setAttribute.
------解决方案--------------------用几次就知道区别了
------解决方案--------------------getParameter是用来接受用post个get方法传递过来的参数的 
 getAttribute获取session的值,也就是获得setAttribute里的值
------解决方案--------------------getParameter是用来接受用post个get方法传递过来的参数的 
 比如表单里的内容; 
 URL传的参数(A,B)例:http://XX.XX.COM?A=1&B=2   
 getAttribute也就是获得setAttribute里的值 
------解决方案--------------------是的啊  楼上的几位兄弟说的对哦