jsp页面代码:
<%@ page contentType="text/html; charset=GBK"%><html>
  <head>
    <title>My JSP 'MyShowInvoke.jsp' starting page</title>
    <jsp:useBean id="_InvokeService" class="com.MyClient"></jsp:useBean>
   <STYLE > 
//组件的样式
    .myfilter{behavior:url(font_effect.htc);position:relative;font-weight:bold;width=180;left:0;} 
   </STYLE> 
  </head>  <body>
   <form name="form1" id="form1" method="post">
   <%request.setCharacterEncoding("GB2312");
     String mySN=""; 
     String InvokeArray[][]=null; 
     if(request.getParameter("ServiceName")!=null&&request.getParameter("ServiceName")!=""){ 
        mySN=request.getParameter("ServiceName");} 
    %>
   <Table id="Table1" width="100%" BORDER="1">
   <tr width="100%">
   <td width="100%" align="center">这是服务调用的明细表</td>
   </tr>
   </Table>
   <Table width="100%" BORDER="1">
   <tr width="100%">
   <td width="30%">你选择的服务:</td>
   <td id="tdtext1" width="50%" align="center" >
   <input type="text" name="ServiceNameText1" id="ServiceNameText1" value="<%=mySN%>" size="50"/>
   </td>
   <td width="20%" align="center" >
   <input type="submit" name="doService" value="执行服务!" onClick="InvokeT();">
   </td>
   </tr>
   </Table>
  <%
  String mySNT=request.getParameter("ServiceNameText1");
  if(mySNT!=null&& !mySNT.equals("")){ 
  //得到数据:二维数组
  InvokeArray=_InvokeService.MyInvokeService(mySNT);
  int rowcount=InvokeArray.length;
  int colcount=InvokeArray[0].length;
  %>
  //构造可移动的表
  <table id=MyTable style="behavior:url(tableAct.htc)">
    <THEAD>
     <tr>
     <%for(int i=0;i<colcount;i++){ %>
      <td width=100>列<%=i %></td>
     <%} %>
     </tr>
    </THEAD>
    <TBODY> 
     <%for(int i=0;i<rowcount;i++){%>
      <tr>
       <% for(int j=0;j<colcount;j++){%>
      <td><%=InvokeArray[i][j]%></td> <%} %>
      </tr>
      <%}%>
    </TBODY>
   </table>
  <% }%>
   </form>
 <script language="javascript">
 function InvokeT(){
 if(document.getElementById("ServiceNameText1").value==""){alert("请选择服务!");}
 }
 </script>
  </body>
</html>
使用的组件:tableAct.htc 
在网上去查它的使用方法和代码(自己的另一贴里面有它的代码)