一个很简单的问题,请各位给看看,谢谢先
我做了一个访问数据库的小例子,但是在页面上点击提交后页面地址栏显示 
 http://localhost:7001/webmodule/whyaction.do      但是   页面变成空白的了,没反应了 
 代码如下: 
 package   webtest;   
 import   org.apache.struts.action.*; 
 import   javax.servlet.http.*; 
 import   javax.servlet.http.*; 
 import   javax.servlet.*; 
 import   java.io.*;   
 import   org.apache.struts.action.*; 
 import   org.apache.struts.util.*;     
 public   class   Whyaction 
             extends   Action   { 
       public   ActionForward   Whysearch(ActionMapping   actionMapping,   ActionForm   actionForm,   HttpServletRequest   httpServletRequest,   HttpServletResponse   httpServletResponse)   { 
             /**@todo:   complete   the   business   logic   here,   this   is   just   a   skeleton.*/ 
             String   age; 
             Whyform   whyform   =   (Whyform)   actionForm; 
             System.out.println( "@@@@@@@@@@@@@@@@@@@@@      1      @@@@@@@@@@@@@@@@@@ "); 
             try{ 
                   age=whyform.getAge(); 
                   Whydao   whydao=new   Whydao(); 
                   System.out.println( "@@@@@@@@@@@@@@@@@@@@@      2      @@@@@@@@@@@@@@@@@@ "); 
                   Whyvo      whyvo=   whydao.findbyage(age);   
                   if   (whyvo==null) 
                   {                          
ActionErrors   err=new   ActionErrors(); 
                         err.add(err.GLOBAL_ERROR,new   ActionError( "err.object.notfound ", "test ")); 
                         saveErrors(httpServletRequest,err); 
                   }else{ 
                         whyform.setAge(whyvo.getAge()); 
                         whyform.setName(whyvo.getName()); 
                         whyform.setSex(whyvo.getSex()); 
                   } 
             }catch   (Exception   e) 
                { 
                      ActionErrors   err1=new   ActionErrors(); 
                      err1.add(err1.GLOBAL_ERROR,new   ActionError( "err.object.notfound ",e.getMessage())); 
                      saveErrors(httpServletRequest,err1); 
                      e.printStackTrace(); 
                      System.out.println( "@@@@@@@@@@@@@@@@@@@@@      3      @@@@@@@@@@@@@@@@@@ "); 
                      return   actionMapping.findForward( "fail "); 
                } 
                return   actionMapping.findForward( "suc "); 
     &