<%!void GetContract(String Str,Vector V_Ret)
    {
        int ipos=Str.indexOf("|");
        if(ipos==-1)
        {
            V_Ret.add(Str);
            return;
        }
        else
        {
            String Str1=Str.substring(0,ipos);
            String Str2=Str.substring(ipos+1);
            V_Ret.add(Str1);
            GetContract(Str2,V_Ret);    
        }
    }
   %>
<%
  Vector V_Contract=new Vector();
  String StrCONTRACT_ID="123456|99999|8888";
  GetContract(StrCONTRACT_ID,V_Contract);  for(int i=0;i<V_Contract.size();i++)
  {
   out.println(V_Contract.elementAt(i););
  }
%>大家帮我看一下这个东西哪里错了
Generated servlet error: