不能,jsp只认javascript,把vbscript改造一下就行了。
数据岛?不懂中……

解决方案 »

  1.   

    应该是不可以,以前我也是,即有VBS又有JS,结果老是弹出THIS为不可知对象
      

  2.   

    VBSCRIPT  ASP支持,JSP不好说 ,应该不能,数据岛支持!
      

  3.   

    我的意思是在JSP中客户端的程序能不能用VBSCRIPT写??
      

  4.   

    只有想不到,没有做不到。
    关键词:BSF
    转载一个jsp
    <html> 
    <jsp:directive.page language="vbscript"/>
    <head> 
       <title>Temperature Table</title> 
    </head> 
    <body> 
    <h1>Temperature Table <blink>sponsored by Microsoft VBScript</blink></h1> 
    <p>American tourists visiting Canada can use this handy temperature 
    table which converts from Fahrenheit to Celsius: 
    <br><br> <table BORDER COLS=2 WIDTH="20%" > 
    <tr BGCOLOR="#FFFF00"> 
    <th>Fahrenheit</th> 
    <th>Celsius</th> 
    </tr> <%
      for i = 0 to 100 step 10
        out.println "<tr ALIGN=RIGHT BGCOLOR=""#CCCCCC"">"
        out.println "<td>" &  i & "</td>"
        out.println "<td>" & form((i - 32)*5/9) & "</td>"
        out.println "</tr>"
      next
      function form(n)
      form= CDbl(CInt(n*100))/100.0
      end function
    %></table> 
    <p><i> <%= CreateBean("java.util.Date").toString() %> </i></p> </body> 
    </html>