<%@ include file="4-01.jsp"%> 这一句有错吗?急!
调试jsp文件,文件4-01和4-03在同一文件夹下。
文件4-03.jsp只包含一句代码:
<%@ include file="4-01.jsp"%>
运行出现错误,如下:
是什么问题啊/???初学jsp,多指教啊!!!
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: /4-01.jsp(0,0) Page directive: can't have multiple occurrences of language
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:49)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:383)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:95)
at org.apache.jasper.compiler.Validator$PageDirectiveVisitor.visit(Validator.java:95)
at org.apache.jasper.compiler.Node$PageDirective