请问是否有JSP高手?用JSP语言开发web网页,请求指导。jsp

解决方案 »

  1.   

    private ScrollView mScrollView;   
    private LinearLayout mLayout;   
    private final Handler mHandler = new Handler();   
      
    mScrollView = (ScrollView)findViewById(R.id.scroll);   
    mLayout = (LinearLayout)findViewById(R.id.linearlayout);//linearlayout外层为 scroll   
    mHandler.post(mScrollToBottom);   
      
    private Runnable mScrollToBottom = new Runnable() {       
         @Override  
         public void run() {   
          // TODO Auto-generated method stub   
          int off = mLayout.getMeasuredHeight() - mScrollView.getHeight();   
          if (off > 0) {   
           mScrollView.scrollTo(0, off);   
           }   
          }   
         };  
    private ScrollView mScrollView;  
    private LinearLayout mLayout;  
    private final Handler mHandler = new Handler();  
      
    mScrollView = (ScrollView)findViewById(R.id.scroll);  
    mLayout = (LinearLayout)findViewById(R.id.linearlayout);//linearlayout外层为 scroll  
    mHandler.post(mScrollToBottom);  
      
    private Runnable mScrollToBottom = new Runnable() {      
         @Override  
         public void run() {  
          // TODO Auto-generated method stub  
          int off = mLayout.getMeasuredHeight() - mScrollView.getHeight();  
          if (off > 0) {  
           mScrollView.scrollTo(0, off);  
           }  
          }  
         };  
    111111111111
    private ScrollView mScrollView;  
    private LinearLayout mLayout;  
    private final Handler mHandler = new Handler();  
      
    mScrollView = (ScrollView)findViewById(R.id.scroll);  
    mLayout = (LinearLayout)findViewById(R.id.linearlayout);//linearlayout外层为 scroll  
    mHandler.post(mScrollToBottom);  
      
    private Runnable mScrollToBottom = new Runnable() {      
         @Override  
         public void run() {  
          // TODO Auto-generated method stub  
          int off = mLayout.getMeasuredHeight() - mScrollView.getHeight();  
          if (off > 0) {  
           mScrollView.scrollTo(0, off);  
           }  
          }  
         };