<td>
<%
String sLogin=(String)session.getAttribute("login");
String sYhmTop=(String)session.getAttribute("yhm");
if(sLogin==null)
sLogin="";
if(sYhmTop==null)
sYhmTop="";
if(sLogin.equals("yes"))
{
%>
这时111行 <%@iframe file="../pub/top_user.jsp"%>
<%}%>
</td>
报错是org.apache.jasper.JasperException: /wdkj/mySpace.jsp(111,6) Invalid directive
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
是什么原因啊,我把空格都删去了。是不是这个页面的所有引入别的页面里的空格都要删除啊
我把<%@include file="../pub/top_user.jsp"%>改为<jsp:include src="" ></jsp:include>现在有报这洋的错了2010-7-26 11:42:45 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: /wdkj/mySpace.jsp(111,3) Include action: Mandatory attribute page missing
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)