tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BugRat Mail System <tomcat-b...@cortexity.com>
Subject BugRat Report #511 has been filed.
Date Sat, 02 Dec 2000 03:56:41 GMT
Bug report #511 has just been filed.

You can view the report at the following URL:

   <http://znutar.cortexity.com/BugRatViewer/ShowReport/511>

REPORT #511 Details.

Project: Tomcat
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: low
Severity: serious
Confidence: public
Environment: 
   Release: Tomcat 4.0 milestone 4 
   JVM Release: 1.3.0
   Operating System: Windows 98
   OS Release: Second Edition
   Platform: Windows

Synopsis: 
Error in parsing scriptlet when jsp is in xml format

Description:
The <  character in a scriptlet is being parsed as if
it were markup rather than being treated as Java syntax
less than symbol.

For example the scriptlet

<%
	for(int i=0; i<6; i++)
	   out.println(i);
%> 

works as expected in standard format jsp.

The xml format scriplet shown below produces an exception
org.apache.jasper.compiler.ParseException 
The content beginning "<6" is not legal markup

<jsp:scriptlet>

	for(int i=0; i<6; i++)
	   out.println(i);

</jsp:scriptlet> 

Mime
View raw message