"login.jsp": org.apache.jasper.JasperException: file:E:/jbproject/News/WebModule/login.jsp(37,0) According to TLD, tag jsp:setProperty must be empty, but is not
请问这个是甚么错误啊???
真是让人头痛....

解决方案 »

  1.   

    你把login.jsp(37,0) 的代码拷来看看
      

  2.   

    <%!String Uname,Upass;%>
    <%Uname=request.getParameter("txtname");
      Upass=request.getParameter("txtpwd");
      session.setAttribute("name",Uname);
    %>
    <c:if test="${param.txtname!=null && param.txtpwd!=null}">
    <jsp:setProperty name="DBJbean" property="seek" >  //这里是login.jsp(37,0) 
    </jsp:setProperty>
    <%response.sendRedirect("123.jsp"); %>
    </c:if>
    <c:if test="${param.txtname==null && param.txtpwd==null}" >
    <%response.sendRedirect("456.jsp"); %>
    </c:if>
    以上是用标签初次做个简单的用户登陆,希望大家能指点指点我这个不开窍的家伙~!!!