当前位置:首页
开发技术指南» 文章正文
    引言:
 

 

    摘要: endtime=rs.gettimestamp(3);//2003-8-10 01:30:00 delaytime=java.sql.time.valueof(task.getmachiningdelaytime());//01:00:00 long l=endtime.gettime()+delaytime.gettime(); date proposetime=new date(); ......
    摘要: 谁知道函数registerserviceprocess()在哪个dll里面 ......


ActionForm传参数(String)到FormBean参数列表该怎样写啊

ActionForm:  
      String[]   fond=req.getParameterValues("fond");  
    forms.setFond-----参数列表该怎样写啊?  
     
  FormBean:  
  public   void   setFond(String   Fond[])  
      {           int   i=0;  
                  for(i=0;i<=6;i++)  
      this.Fond[i]=Fond[i];  
      }      
           
      /**   return   Fond   */  
  public   String   getFond()  
      {  
      int   i=0;  
          for(i=0;i<this.Fond.length;i++)  
          {  
              if(Fond[i].equals("1"))  
              this.fonds=this.fonds+"sports,";  
              else   if(Fond[i].equals("2"))  
                        this.fonds=this.fonds+"computer,";  
                        else     if(Fond[i].equals("3"))  
                                    this.fonds=this.fonds+"music,";  
                                    else   if(Fond[i].equals("4"))  
                                              this.fonds=this.fonds+"tour,";  
                                              else   if(Fond[i].equals("5"))  
                                                        this.fonds=this.fonds+"photograph,";  
                                                        else   if(Fond[i].equals("6"))  
                                                                  this.fonds=this.fonds+"other";  
          }  
                  return   this.fonds;    
      }

NO.1   作者: youfly

是类找不到,确保Form类在classpath里找的到,如果用了html标志和话,请确保action="?"问号的内填的路径是action   mapping里的路径,并action   mapping的name属性对应的form配置的formbean的type写的是正确的。


 ·各位是如何做限时的程序的    »显示摘要«
    摘要: 讨论者均有分 谢谢 ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE