You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by BugRat Mail System <to...@cortexity.com> on 2000/12/05 23:09:20 UTC
BugRat Report #529 has been filed.
Bug report #529 has just been filed.
You can view the report at the following URL:
<http://znutar.cortexity.com/BugRatViewer/ShowReport/529>
REPORT #529 Details.
Project: Jasper
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: medium
Severity: serious
Confidence: public
Environment:
Release: 3.2
JVM Release: Any
Operating System: Any
OS Release: Any
Platform: Any
Synopsis:
<jsp:include> error message is not descriptive
Description:
When only page attribute is specified to jsp:include, the error message is "Invalid jsp:include tag". Would have been better if it said that required attribute "flush" wasn't specified.
This is a common error since most reasonable people assume flush is optional (since the only valid value it true). And the error gives no indication of what the problem is.
Fix is to move the attrs.size() != 2 check in org.apache.jasper.compiler.IncludeGenerator couple of checks down to after check for flush.