☆☆高分求救☆☆☆关于include的问题!
我的LionAdd.jsp程序里有下面这两句:
<%@ page contentType="text/html; charset=GB2312"import="应用程序.MyUtil,java.sql.*" %>
<%@include file="LionLoginFlag.jsp"%>
LionLoginFlag.jsp程序里也有<%@ page contentType="text/html; charset=GB2312"%>
<jsp:useBean id="lionSession" scope="session" class="应用程序.LionBean"/>
因此运行结果如下:
"LionAdd.jsp": /LionLoginFlag.jsp(0,0) Page directive: can't have multiple occurrences of contentType at line 2, column 1
我把其中一个里面的contentType删掉
结果却有下面这种错误
"LionLoginFlag.jsp": Error #: 100 : illegal character at line 2
这个问题该怎么办呢?谢谢帮忙!