这是什么错误啊?
求救

解决方案 »

  1.   

    <%@page contentType="text/html;charset=GBK" session="true"%>
    <html>
    <head>
    <title>jsp3</title>
    </head>
    <body bgcolor="#ffffff">
    <jsp:useBean id="relation" scope="request" class="jsp.compare"></jsp:useBean>
    <hr/>
    <%=compare.getscope() %><%compare.setscope("session")%>
    <h1>JBuilder Generated JSP</h1>
    </body>
    </html>
    package jsp;
    public class compare {
        String scopeType;
        public void getscope(String scopeType){
            this.scopeType=scopeType;
        }
        public void setscope(String scopeType){
            this.scopeType=scopeType;
        }
    }
      

  2.   

    怎么错了..求我啊 "jsp3.jsp": ';' expected
      

  3.   

    <%=compare.getscope() %><%compare.setscope("session")%>不是很明白吗,后面这个少了;