晕,狂晕中~~~~~~~~~~~~~~~

解决方案 »

  1.   

    <%@ page contentType="text/html; charset=GBK" %> 
    <%!
    public void display() 

    System.out.println("display()"); 

    %> 
    <html> 
    <head> 
    <title> 
    Jsp1 
    </title> 
    <script language="javascript"> 
    function display()
    {
       alert("fdasf");
    }
    function ScriptFun() 

    <% 
    display(); 
    %> 

    </script> 
    </head> 
    <body> 
    <form> 
    <input type="button" name="b" value="Click me" onclick="ScriptFun();"> 
    </form> 
    </body> 
    </html>
      

  2.   

    你想要达到什么样的功能??